Hi,

I have a vector V of values I used to create a distance matrix using dist()
function with diag=TRUE and upper=TRUE parameters.

I would like to assign names in another vector on top of each column instead
of 1 2 3 4 ...

How can we do that ? is the distance matrix generated a data frame or a
matrix ?

Regards
-- 
*Radhouane *

        [[alternative HTML version deleted]]

______________________________________________
[email protected] mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.

Reply via email to