predictmodelfamily.knn: This function specifically handles predicting knn model...

Description Usage Arguments Value Examples

Description

This function specifically handles predicting knn model families. This handles everything that needs to be done when predicting a knn model family.

Usage

1
2
## S3 method for class 'knn'
predictmodelfamily(mod, new_data)

Arguments

mod

The model family object.

newdata

The new data you want to predict values for.

Value

The predicted values for the new_data passed in.

Examples

1
predictmodelfamily(fitted_model_fam, new_data)

emilyklisa/mli documentation built on May 25, 2019, 5:21 p.m.