Re: [R] LDA and centroids

2008-06-02 Thread Prof Brian Ripley
On Mon, 2 Jun 2008, Dani Valverde wrote: Hello, I have carried out an lda analysis using the lda function of MASS package. I have plotted the LD1xLD2 to represent the data. Now I would like to get the centroids for each group of data and plot it on the LD1xLD2 graph. How can I get the centroi

[R] LDA and centroids

2008-06-02 Thread Dani Valverde
Hello, I have carried out an lda analysis using the lda function of MASS package. I have plotted the LD1xLD2 to represent the data. Now I would like to get the centroids for each group of data and plot it on the LD1xLD2 graph. How can I get the centroid value from the lda object? Best, Dani