[R] lda
Uwe Ligges
ligges at statistik.uni-dortmund.de
Tue Oct 17 09:01:46 CEST 2006
Pieter Vermeesch wrote:
> 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?
What does str(data.frame2) tell us?
Uwe Ligges
> Thanks!
>
> Pieter
>
> ______________________________________________
> R-help at stat.math.ethz.ch 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.
More information about the R-help
mailing list