# NOT RUN {
data(DATA)
### perform classification with a 3-fold cross-validaiton
RES1 <- fnPcaLda(data=DATA$spec
,label=DATA$labels
,batch=DATA$batch
,nPC=3
,cv=c('none', 'CV', 'BV')[2]
,nPart=3
,center=TRUE
,scale=FALSE)
# }
Run the code above in your browser using DataLab