s-news
[Top] [All Lists]

lda() from MASS

To: s-news@lists.biostat.wustl.edu
Subject: lda() from MASS
From: willem Talloen <willem.talloen@ua.ac.be>
Date: Fri, 17 Jun 2005 13:54:23 +0200
Organization: UA
User-agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.7.2) Gecko/20040804 Netscape/7.2 (ax)
hello,

I'm doing analyses with lda() in library section MASS (Splus 6.0).

The lda() function works fine, but the predict.lda and the plot.lda not.
I've been searching for two days now what the problem might be with following error messages.

> predict.lda(shape.lda)
Problem in predict.lda(shape.lda): wrong number of variables
> plot(shape.lda)
Problem in scale(X, means, F): length of center must match number of columns of x

It should be due to "something" of my dataset, as it runs perfectly on the Iris dataset.

Could somebody help me out of this?
willem
-- 

Willem Talloen                 willem.talloen@ua.ac.be
______________________________________________________
Laboratory of Animal Ecology      (Biology Department)

University of Antwerp
Universiteitsplein 1
B-2610 Wilrijk, BELGIUM

Tel : +32 3 820 22 61            Fax : +32 3 820 22 71

http://webhost.ua.ac.be/deco
______________________________________________________
<Prev in Thread] Current Thread [Next in Thread>
  • lda() from MASS, willem Talloen <=