Re: [R] Error predict with lda and cross validation

2012-01-17 Thread Uwe Ligges
On 17.01.2012 14:54, Riccardo Romoli wrote: Hi, I use the lda function from the MASS package to classify some samples according to some chemical properties. If I run lda without cross validation all is ok but, if I run lda with cross validation, the R consol say: resLDA <- ldaRedOx <- lda(Acti

[R] Error predict with lda and cross validation

2012-01-17 Thread Riccardo Romoli
Hi, I use the lda function from the MASS package to classify some samples according to some chemical properties. If I run lda without cross validation all is ok but, if I run lda with cross validation, the R consol say: resLDA <- ldaRedOx <- lda(Activity ~ TRedOx[,1:6], CV=TRUE, data=dfD