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

From: Elio Mineo <elio_mineo_at_economia.unipa.it>
Date: Thu 05 May 2005 - 23:45:48 EST


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

______________________________________________
R-help@stat.math.ethz.ch mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide! http://www.R-project.org/posting-guide.html
Received on Fri May 06 00:01:32 2005

This archive was generated by hypermail 2.1.8 : Fri 03 Mar 2006 - 03:31:35 EST