random_linear_forest-class: random_linear_forest model class using a random forest of...

random_linear_forest-classR Documentation

random_linear_forest model class using a random forest of linear forest models

Description

random_linear_forest model class using a random forest of linear forest models

Value

random_linear_forest object

Slots

formula

formula used to create trees and linear models

models

list of each tree model in model

data

data.frame of the input data

resid

numeric vector of residuals

inbag_data

list of data.frame each model trained on

oob_data

list of data.frame containing info model not trained on

oob_resid

numeric vector of oob residuals

inc_mse

% increased mean squared error

Examples

data("Example_data", package = "Covid19Wastewater")
random_linear_forest(Example_data, 2, PMMoV ~ N1 + N2 | pcr_type)

Covid19Wastewater documentation built on Aug. 25, 2023, 1:07 a.m.