Re: [R] help with predict.lda

2010-07-06 Thread Changbin Du
Thanks all so much for your help! I went out for 2 days vacation and could not reply your guys email. Yes, the CV=False works. Thanks again! On Sun, Jul 4, 2010 at 2:47 AM, Peter Ehlers wrote: > On 2010-07-03 21:33, Changbin Du wrote: > >> HI, Dear community, >> >> I am using the linear disc

Re: [R] help with predict.lda

2010-07-04 Thread David Winsemius
On Jul 4, 2010, at 7:37 AM, David Winsemius wrote: On Jul 3, 2010, at 11:33 PM, Changbin Du wrote: HI, Dear community, I am using the linear discriminant analysis to build model and make new predictions: dim(train) #training data [1] 1272 22 dim(valid) # validation data [1] 140

Re: [R] help with predict.lda

2010-07-04 Thread David Winsemius
On Jul 3, 2010, at 11:33 PM, Changbin Du wrote: HI, Dear community, I am using the linear discriminant analysis to build model and make new predictions: dim(train) #training data [1] 1272 22 dim(valid) # validation data [1] 140 22 lda.fit <- lda(out ~ ., data=train, na.action="n

Re: [R] help with predict.lda

2010-07-04 Thread Peter Ehlers
On 2010-07-03 21:33, Changbin Du wrote: HI, Dear community, I am using the linear discriminant analysis to build model and make new predictions: dim(train) #training data [1] 1272 22 dim(valid) # validation data [1] 140 22 lda.fit<- lda(out ~ ., data=train, na.action="na.omit", CV=TR