Crossvalidation function for fusedanova method.
Description
Function that computes Kfold crossvalidated error of a
fusedanova
fit. Possibility to perform V times the
whole Kfold CV to average the error and reduce the reduce
the CV standard error around the minimum.
Usage
1 2 
Arguments
x 
matrix whose rows represent individuals and columns independant variables. 
class 
vector or factor giving the class of each individual. 
K 
integer indicating the number of folds. Default is 10. 
V 
integer indicating the number of times the K folds CV will be averaged. Default is 1 (no averaging). 
verbose 
boolean for verbose mode. Default is

folds 
list of 
lambdalist 
list of 
... 
list of additional parameters to overwrite the
defaults of the fitting procedure. See the corresponding
documentation (

Value
An object of class "cv.fa" for which a plot
method
is available.
See Also
fusedanova
,
plot,cv.famethod
and
cv.fa
.
Examples
1 2 3 4 5 6 