[R] LDA and centroids

Dani Valverde daniel.valverde at uab.cat
Mon Jun 2 17:02:53 CEST 2008


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

-- 
Daniel Valverde Saubí

Grup de Biologia Molecular de Llevats
Facultat de Veterinària de la Universitat Autònoma de Barcelona
Edifici V, Campus UAB
08193 Cerdanyola del Vallès- SPAIN

Centro de Investigación Biomédica en Red
en Bioingeniería, Biomateriales y
Nanomedicina (CIBER-BBN)

Grup d'Aplicacions Biomèdiques de la RMN
Facultat de Biociències
Universitat Autònoma de Barcelona
Edifici Cs, Campus UAB
08193 Cerdanyola del Vallès- SPAIN
+34 93 5814126



More information about the R-help mailing list