powered by
Predict method for colf_nls
# S3 method for colf_nls predict(object, newdata, ...)
A colf_nls object
A new data.frame which contains the same column names and classes as the original data.frame
Currently not used
A vector with the predictions
predict.colf_nls will use the fit model to predict on a new data set.
predict.colf_nls
When using predict.colf_nls make sure the column names and classes of the new data set are the same as the data the model was trained on.
# NOT RUN { mymod <- colf_nls(mpg ~ hp + cyl, mtcars) #prediction predict(mymod, mtcars) # }
Run the code above in your browser using DataLab