Predict from a Tensor Regression Fit
Arguments
- object
A fit from
spgtr()orspgtr_cv().- newX
New subjects, in either form accepted by
spgtr(). If omitted, predictions for the subjects used in fitting are returned.- newZ
New ordinary covariates, required when the fit used
Z.- type
"response"(default) for the outcome scale – a probability forbinomial(), an expected count forpoisson();"link"for the linear predictor;"class"for a 0/1 label thresholded at0.5(binomial fits only).- ...
Unused.