my_rf_cv: Random Forest Cross-Validation function

Description Usage Arguments Value Examples

View source: R/my_rf_cv.R

Description

This function predicts output body_mass_g using covariates bill_length_mm, ill_depth_mm, and flipper_length_mm.

Usage

1

Arguments

k

Integer representing the number of folds.

Value

Numeric with the cross-validation error cv_err.

Examples

1

JudyTi/STAT302package documentation built on Dec. 18, 2021, 2:32 a.m.