[R] discriminant function

Torsten Hothorn hothorn at ci.tuwien.ac.at
Tue Aug 26 15:59:57 CEST 2003


On 26 Aug 2003, Stefan [ISO-8859-1] Böhringer wrote:

> How can I extract the linear discriminant functions resulting from a LDA
> analysis?
> 
> The coefficients are listed as a result from the analysis but I have not
> found a way to extract these programmatically. No refrences in the
> archives were found.

?lda tells you about the object returned by `lda', especially it element:

scaling: a matrix which transforms observations to discriminant
          functions, normalized so that within groups covariance matrix
          is spherical.

Torsten

> 
> Thank you very much,
> 
> 	Stefan
> 
> ______________________________________________
> 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