predict.tensor.reg: Prediction from tensor regression (S3 method)
Description
Prediction from tensor regression (S3 method)
Usage
# S3 method for tensor.reg
predict(object, x.new, z.new, scale = TRUE, ...)
Value
Predicted response vector
Arguments
- object
tensor.reg object
- x.new
new tensor predictors (n x p x d)
- z.new
new scalar covariates (n x pgamma)
- scale
Logical; whether to scale predictors
- ...
additional arguments