Predict method for elastic regression models
predicted curves for elastic regression model objects.
## S3 method for class 'elastic_reg_model' predict(object, newdata = NULL, t_grid = seq(0, 1, 0.01), ...)
object
: object of class elastic_reg_model
, usually a result of a call to fit_elastic_regression
newdata
: an optional data.frame
in which to look for variables with which to predict. If not given, the fitted values are used.t_grid
: grid on which the predicted curves are evaluated....
: further arguments passed to or from other methods.a list
of data.frame
s with predicted curves
For examples see documentation of fit_elastic_regression
.
Useful links