my_rf_cv: Random Forest Cross-Validation

Description Usage Arguments Value Examples

View source: R/my_rf_cv.R

Description

This function uses the my_gapminder dataset and predicts the Life Expectancy at birth (in years) from GDP per capita, using Random Forest Cross-Validation.

Usage

1

Arguments

k

Numeric indicating the number of folds with which to separate our dataset.

Value

Numeric representing the average Mean Squared Error across all k folds (the cross-validation error).

Examples

1
2

marquesjchacon/myfirstpackage documentation built on April 2, 2020, 9:42 p.m.