[R] discriminant function

Stefan Böhringer commercial at s-boehringer.de
Wed Aug 27 19:55:45 CEST 2003

Thank you all for the quick responses.
However, I'm not sure I unterstand the scaling matrix (denote S
henceforth) correcty. An observation x will be transformed by Sx into a
new vector space with the properties given by the description. What is
now the direction perpendicular to the seperating plane as estimated in
the process of the lda? That direction is what im primarily interested
in. When plotting a lda object I see diagrams with observations when the
plane (here the line) of separation is chosen canonically to be {ax | a
\in R}.

Thanks, best wishes,


On Tue, 2003-08-26 at 15:59, Torsten Hothorn wrote: 
> 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