search for: absifmahal

Displaying 1 result from an estimated 1 matches for "absifmahal".

2008 Jun 10
1
Question on lda and predict
Hello Using R 2.7.0 on Windows. I am running a linear discriminant analysis as follows <<<< discrim1 <- lda(normvar~ mafmahal+ mrfmahal+ mffmahal+ bafmahal+ brfmahal+ cofmahal+ bmfmahal+ cfmahal+ fractmahal+ antmahal+ absmifmahal+ absifmahal, subset = train) prediction <- predict(discrim1, traintest1[-train,])$class >>> When I do this, I get a warning message: <<< Warning message: 'newdata' had 795 rows but variable(s) found have 796 rows >>> However, when I look at 'newdata' (i.e. trai...