Description Usage Arguments Value Examples
View source: R/bandwidth_selection.R
Uses cross validation to determine the k for kNN bandwidth selection.
1 |
data |
The data matrix. |
test |
Vector of integers that shall be tested. Chooses the k that has the highest likelihood. |
Matrix with 4 columns, one for each pair of variables. The first two columns indicate the pair in question, the third column givs the selected k, and the last column returns a 1 if the selected k is an endpoint for the "test"-vector. Perhaps one should change the search area?
1 2 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.