Learn R Programming

Covid19Wastewater (version 1.0.1)

OOB_MSE_num_trees: get OOB MSE vs number of forest in trees

Description

get OOB MSE vs number of forest in trees

Usage

OOB_MSE_num_trees(tree_model)

Value

get dataframe of number of trees and OOB MSE

Arguments

tree_model

random_linear_forest model to calculate the OOB mean squared error

Examples

Run this code
data(Example_data, package = "Covid19Wastewater")
model <- random_linear_forest(Example_data, 2, PMMoV ~ N1 + N2 | pcr_type)
OOB_MSE_num_trees(model)

Run the code above in your browser using DataLab