Description Usage Arguments Value
This will predict an output using the covariates within the training data
train
.
1 | my_rf_cv(trainx, trainy, k)
|
trainx |
input data frame containing columns of predictor variables. |
trainy |
response vector with length equal to number of rows of
|
k |
number of cross-validation folds. |
a numeric with the cross-validation error.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.