Description Usage Arguments Value Author(s) Examples
View source: R/make_prediction.R
Function to predict using a model object and return a vector.
1 | make_prediction(model, df)
|
model |
Model object which can be used with |
df |
Data frame containing input data which can be used by |
Numeric vector.
Stuart K. Grange
1 2 3 4 5 6 7 | ## Not run:
# Predict using a random forest model
value_predict <- make_prediction(list_random_forest, data_testing_set)
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.