my_rf_cv: Random Forest Cross Validation

Description Usage Arguments Value Examples

View source: R/my_rf_cv.R

Description

This function does the Cross Validation test for the random forest predict model. This function is specifically using bill_length_mm, bill_depth_mm, and flipper_length_mm to predict body_mass_g from the data my_penguins.

Usage

1

Arguments

k

Numeric input of number of folds.

Value

a numeric of the cross-validation error value.

Examples

1

Chaos-Gao/MyStat302Package documentation built on March 20, 2021, 2 p.m.