my_rf_cv: Random Forest Cross-Validation Function

Description Usage Arguments Value Examples

View source: R/my_rf_cv.R

Description

This function performs a cross validation using the random forest package to train a model. predicting body_mass_g using the covariates of bill_length_mm, bill_depth_mm, and flipper_length_mm.

Usage

1

Arguments

k

number of folds

Value

number with the cross-validation error value

Examples

1

laurenng/stat302Package documentation built on Dec. 21, 2021, 9:42 a.m.