Description Usage Arguments Value Examples
This function specifically handles predicting knn model families. This handles everything that needs to be done when predicting a knn model family.
1 2 | ## S3 method for class 'knn'
predictmodelfamily(mod, new_data)
|
mod |
The model family object. |
newdata |
The new data you want to predict values for. |
The predicted values for the new_data passed in.
1 | predictmodelfamily(fitted_model_fam, new_data)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.