Description Usage Arguments Details Value Examples
This function is a simple wrapper that lets you work with class::knns()
while using data.frame, thus allowing you to stay with the same format.
1 |
data |
A data.frame. |
formula |
an object of class |
split |
variable that was used to split data.frame into training and test set. |
... |
Additional arguments to be passed to the
|
It allows for the use of the formula expression from base stats, where the lhs is the factor of the true. The split variable must be logical.
an object of class "knn".
1 2 3 4 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.