Re: [R] Question on lda and predict

2008-06-10 Thread Peter Flom
I wrote > 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)

Re: [R] Question on lda and predict

2008-06-10 Thread Peter Flom
I wrote (in part) > > 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(discr

Re: [R] Question on lda and predict

2008-06-10 Thread Erik Iverson
Peter Flom wrote: 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) predic

[R] Question on lda and predict

2008-06-10 Thread Peter Flom
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(discri