my_rf_cv: my_rf_cv

Description Usage Arguments Value Examples

View source: R/my_rf_cv.R

Description

This function calculate a cross validation error for a random forest using the "palmerpenguins" data.

Usage

1

Arguments

k

Is the number of K folds to run.

Value

A numeric calculation of the cv_err.

Examples

1
2
my_rf_cv(k = 3)
my_rf_cv(k = 5)

theloniousgoerz/tgpackage documentation built on Dec. 23, 2021, 9:54 a.m.