Usage
pcaCV(X, amax, center = TRUE, scale = TRUE, repl = 50, segments = 4,
segment.type = c("random", "consecutive", "interleaved"), length.seg, trace = FALSE,
plot.opt = TRUE, ...)
Arguments
X
numeric data frame or matrix
amax
maximum number of components for evaluation
center
should the data be centered? TRUE or FALSE
scale
should the data be scaled? TRUE or FALSE
repl
number of replications of the CV procedure
segments
number of segments for CV
segment.type
"random", "consecutive", "interleaved" splitting into training
and test data
length.seg
number of parts for training and test data, overwrites segments
trace
if TRUE intermediate results are reported
plot.opt
if TRUE the results are shown by boxplots
...
additional graphics parameters, see par