spatpcaCV {SpatPCA} | R Documentation |
Internal function: M-fold Cross-validation
Description
Internal function: M-fold Cross-validation
Usage
spatpcaCV(sxyr, Yr, M, K, tau1r, tau2r, gammar, nkr, maxit, tol, l2r)
Arguments
sxyr |
A location matrix |
Yr |
A data matrix |
M |
The number of folds for CV |
K |
The number of estimated eigen-functions |
tau1r |
A range of tau1 |
tau2r |
A range of tau2 |
gammar |
A range of gamma |
nkr |
A vector of fold numbers |
maxit |
A maximum number of iteration |
tol |
A tolerance rate |
l2r |
A given tau2 |
Value
A list of selected parameters
[Package SpatPCA version 1.3.5 Index]