my_rf_cv: 'my_rf_cv' Function This function will predict output...

Description Usage Arguments Value Examples

View source: R/my_rf_cv.R

Description

my_rf_cv Function

This function will predict output body_mass_g using covariates bill_length_mm, bill_depth_mm, and flipper_length_mm.

Usage

1

Arguments

k

number of folds.

Value

a numeric average MSE across all k folds.

Examples

1

Cherry-ty-Pan/STAT302package documentation built on Dec. 17, 2021, 2 p.m.