Re: [R] Fisher's discriminant functions

From: Kjetil Holuerson <kjetil_at_redcotel.bo>
Date: Fri 30 Sep 2005 - 06:22:00 EST

This are in various packages, you could have a look at ade4 (on CRAN).

Kjetil

C NL wrote:
> Hi everyone,
>
> I'm trying to solve a problem about how to get the
> Fisher's discriminant functions of a "lda" (linear
> discriminant analysis) object, I mean, the object
> obtained from doing "lda(formula, data)" function of
> the package MASS in R-project. This object gives me
> the canonical linear functions (n-1 coefficients
> matrix of n groups at least), and only with this
> information I could predict the group of an
> observation data using the "predict" function. But
> what I need is the Fisher's discriminant functions (n
> coefficients matrix of n groups) in order to classify
> my future data.
>
> The object "predict" gives me only the following
> attributes "x", "posterior" and "class", but none of
> them are the coefficients matrix of the Fisher's
> discriminant functions, and the reason why I'm not
> using the "predict" function for my predictions is
> because the time spent is very high for what I'm
> expecting, about 0.5 seconds while I can obtain this
> prediction with the Fisher's discriminant functions
> faster.
>
> So, I don't know if there's a package which I can
> use to obtain the mentioned coefficients matrix of the
> Fisher's discriminant functions.
>
> I anyone can help, I would appreciate it greatly.
>
> Thank you and regards.
>
> Carlos Niharra López
>
> ______________________________________________
> R-help@stat.math.ethz.ch mailing list
> https://stat.ethz.ch/mailman/listinfo/r-help
> PLEASE do read the posting guide! http://www.R-project.org/posting-guide.html
>
>

--

______________________________________________
R-help@stat.math.ethz.ch mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide! http://www.R-project.org/posting-guide.html
Received on Fri Sep 30 06:26:08 2005

This archive was generated by hypermail 2.1.8 : Fri 03 Mar 2006 - 03:40:34 EST