my_rf_cv: Random Forest Cross Validation

Description Usage Arguments Value Examples

View source: R/my_rf_cv.R

Description

Performs random forest cross validation on the "penguins" data set, predicting "body_mass_g" with covariates "bill_length_mm", "bill_depth_mm", and "flipper_length_mm", with 100 trees.

Usage

1

Arguments

k

Numeric denoting number of folds to use in the cross validation.

Value

Numeric that is the mean squared error of predicted values compared to true body mass.

Examples

1
2

BenjaminLowry/project3package documentation built on March 21, 2021, 4:34 a.m.