Description Usage Arguments Value See Also
A wrapper function to optimize dimension reduction using multiple-run k-fold cross validation. Different number of PCs/ harmonics are used in training the classification model and the result (misclassification rate) is plotted out.
1 2 3 4 5 |
X |
[for |
Y |
a factor giving the groupings, e.g. value from |
pc |
[for |
har |
[for |
saveplot |
logical. The plot will be saved if
|
plotsize |
numeric. Plot size for the plot saved
into file (used only when |
method |
argument to be passed to
|
run |
argument to be passed to |
k |
argument to be passed to |
a matrix and a plot are returned, giving the misclassification rate of the range of PCs/ harmonics tested.
Similar: threcv
Which this function wraps: mrkfcv
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.