[R] Lda versus Rda

Julien Trolet julien.trolet at curie.fr
Fri Nov 5 16:22:45 CET 2004


Hello,

I used the lda function from the MASS (VR) package and the rda function 
from the klaR package.
I wanted to compare the result of this two functions by using the same 
training set.
Thus, I used the rda function with lambda=1 an gamma=0, I should emulate 
the lda function and I should obtain the same result.

But this it not the case, the two result are very different.

My training set is 70 observations * 10 variables long, and I performed 
a leave one out for each  observations.

Do somebody have an idea for the cause(s) of this?

Thanks

Trolet Julien




More information about the R-help mailing list