my_rf_cv: Random Forest function

Description Usage Arguments Value Examples

View source: R/my_rf_cv.R

Description

This function performs predicts body_mass_g using covariates bill_length_mm, bill_depth_mm, and flipper_length_mm using random forests.

Usage

1

Arguments

k

The number of folds desired

Value

A numeric with the cross-validation error

Examples

1
2

CamSims/myfirstpackage documentation built on Dec. 17, 2021, 1:56 p.m.