[R] diagonal LDA and QDA

0 views
Skip to first unread message

cindy Guo

unread,
Aug 1, 2009, 2:37:40 PM8/1/09
to r-h...@r-project.org
Hi, all,

I am wondering if there is any package doing lda and qda which allows
assuming diagonal covariance matrices. I checked the lda function in MASS,
and it seems it does not support this.

Thanks,

Cindy

[[alternative HTML version deleted]]

______________________________________________
R-h...@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.

cindy Guo

unread,
Aug 1, 2009, 4:03:08 PM8/1/09
to r-h...@r-project.org

Martin Maechler

unread,
Aug 3, 2009, 9:10:18 AM8/3/09
to cindy Guo, r-h...@r-project.org
>>>>> "cG" == cindy Guo <cindy...@gmail.com>
>>>>> on Sat, 1 Aug 2009 13:03:08 -0700 writes:

cG> Hi, all, I am wondering if there is any package doing
cG> lda and qda which allows assuming diagonal covariance
cG> matrices. I checked the lda function in MASS, and it
cG> seems it does not support this.

IIRC, this in several packages,
e.g., function
diagDA() in package 'sfsmisc'.

Regards,
Martin Maechler ETH Zurich

David Winsemius

unread,
Aug 3, 2009, 9:35:39 AM8/3/09
to cindy Guo, r-h...@r-project.org

On Aug 1, 2009, at 4:03 PM, cindy Guo wrote:

> Hi, all,
>
> I am wondering if there is any package doing lda and qda which allows
> assuming diagonal covariance matrices. I checked the lda function in
> MASS,
> and it seems it does not support this.
>

Did you try one of the r-search sites? e.g.:

http://search.r-project.org/cgi-bin/namazu.cgi?query=diagonal+discriminant+analysis&max=100&result=normal&sort=score&idxname=functions&idxname=Rhelp08&idxname=views


David Winsemius, MD
Heritage Laboratories
West Hartford, CT

Reply all
Reply to author
Forward
0 new messages