Learn R Programming

Covid19Wastewater (version 1.0.1)

random_linear_forest-class: 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

Arguments

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

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

Run the code above in your browser using DataLab