my_rf_cv: Random Forest Cross-Validation Function

Description Usage Arguments Value Examples

View source: R/my_rf_cv.R

Description

This function calculates the cross-validation error using random forest on the penguins data of the palmerpenguins package.

Usage

1

Arguments

k

Numeric input indication the number of folds in the cross validation.

Value

Numeric representing the cross validation error using k folds.

Examples

1

qiguangyan/Project3 documentation built on Dec. 22, 2021, 10:55 a.m.