You are using a *beta* version of R 1.8.0 and in that version lda.default is not visible to the user (hidden in a namespace). You can access it though by using the ::: (triple colon) operator, as in

 library(MASS)
 MASS:::lda.default

Actually, the first library() call is not necessary.


-roger


Wei Geng wrote:


I am new to R. Trying to find out how lda() {in MASS R1.8.0 Windows} was
implemented in R. Does anyone know where to find out lda source code ?
Thanks.

Wei

______________________________________________
[EMAIL PROTECTED] mailing list
https://www.stat.math.ethz.ch/mailman/listinfo/r-help




______________________________________________ [EMAIL PROTECTED] mailing list https://www.stat.math.ethz.ch/mailman/listinfo/r-help

Reply via email to