powered by
Predict response for object returned from TRR.fit and TPR.fit functions.
TRR.fit
TPR.fit
# S3 method for Tenv predict(object, newdata, ...)
An object of class "Tenv", as from TPR.fit or TRR.fit.
"Tenv"
The data to be used for prediction. It can be vector, matrix or tensor for the fit returned fromTRR.fit, and can be matrix or tensor for the fit returned from TPR.fit.
Arguments passed to or from other methods.
Return the predicted response.
# NOT RUN { data("bat") x <- bat$x y <- bat$y fit <- TRR.fit(x, y, method="standard") predict(fit, x) # }
Run the code above in your browser using DataLab