my_rf_cv: generate a random forest cross-validation for penguins

Description Usage Arguments Value Examples

View source: R/my_rf_cv.R

Description

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

Usage

1
my_rf_cv(k, data_pen)

Arguments

k

a number for folds

data_pen

data for penguins

Value

A numeric with the cross-validation error

Examples

1

YZhien/final documentation built on Dec. 18, 2021, 7:23 p.m.