predict,random_linear_forest-method | R Documentation |
predict new data from random_linear_forest models
## S4 method for signature 'random_linear_forest'
predict(object, new_data, ...)
object |
random_linear_forest being used |
new_data |
data.frame. |
... |
extra parameters ignored |
vector of predictions for each row
data(Example_data, package = "Covid19Wastewater")
model <- random_linear_forest(Example_data, 2, PMMoV ~ N1 + N2 | pcr_type)
predict(model, Example_data)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.