powered by
predict new data from random_linear_forest models
# S4 method for random_linear_forest predict(object, new_data, ...)
vector of predictions for each row
random_linear_forest being used
data.frame.
extra parameters ignored
data(Example_data, package = "Covid19Wastewater") model <- random_linear_forest(Example_data, 2, PMMoV ~ N1 + N2 | pcr_type) predict(model, Example_data)
Run the code above in your browser using DataLab