I'm trying to do a linear discriminant analysis on a dataset of three
classes ("Affinities"), using the MASS library:

> data.frame2 <- na.omit(data.frame1)
>
> data.ld = lda(AFFINITY ~ ., data.frame2, prior = c(1,1,1)/3)

Error in var(x - group.means[g, ]) : missing observations in cov/cor

What does this error message mean and how can I get rid of it?

Thanks!

Pieter

______________________________________________
[email protected] mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.

Reply via email to