contr.metric | R Documentation |
Returns a matrix of contrasts for the train.kknn.
contr.metric(n, contrasts = TRUE)
n |
A vector containing levels of a factor, or the number of levels. |
contrasts |
A logical value indicating whether contrasts should be computed. |
Joseline Quiros <joseline.quiros@promidat.com>
contr.metric(5)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.