[R] lda source code

Spencer Graves spencer.graves at pdf.com
Wed Oct 1 23:56:44 CEST 2003


Consider the following: 

 > library(MASS)
 > lda
function (x, ...)
UseMethod("lda")
<environment: namespace:MASS>
 > methods(lda)
[1] "lda.data.frame" "lda.default"    "lda.formula"    "lda.matrix"   

Now type "lda.data.frame" or "lda.default", etc., at a command prompt to 
see the corresponding R code. 

Is this what you want?
spencer graves

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
>
>______________________________________________
>R-help at stat.math.ethz.ch mailing list
>https://www.stat.math.ethz.ch/mailman/listinfo/r-help
>  
>




More information about the R-help mailing list