Description Usage Arguments Value Examples
Using the palmerpenguins data, predicts body mass with covariates bill length, bill depth, and flipper length by the random forest algorithm and performs cross-validation on the model.
1 | my_rf_cv(k)
|
k |
Integer representing the number of folds. |
A numeric with the cross-validation error.
1 | my_rf_cv(5)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.