my_rf_cv: Random forest cross-validation function

Description Usage Arguments Value Examples

View source: R/my_rf_cv.R

Description

Using the palmerpenguins data, predicts body mass with covariates bill length, bill depth, and flipper length by the random forest algorithm and performs cross-validation on the model.

Usage

1

Arguments

k

Integer representing the number of folds.

Value

A numeric with the cross-validation error.

Examples

1

marcradke/StatsTools documentation built on Dec. 21, 2021, 1:51 p.m.