[R] Solved: was names(dist(mat)) gives NULL in R 2.1.0

Elio Mineo elio_mineo at economia.unipa.it
Thu May 5 15:45:48 CEST 2005


Thanks to Andy Liaw to suggest me the right solution (at least for me):

attributes(dist(mat))$Labels

or

attr(dist(mat),"Labels")

Bye,
Elio

-- 
----------------------------------------------------------------------------------
Prof. Angelo M. Mineo
Dipartimento di Scienze Statistiche e Matematiche "S. Vianelli"
Università degli Studi di Palermo
Viale delle Scienze
90128 Palermo
url: http://dssm.unipa.it/elio




More information about the R-help mailing list