Re: [R] trivial syntax question!

2023-05-15 Thread Bert Gunter
Why can you not use the 'labels' argument as described in ?hclust (the Help system should always be the first place to look for answers to such questions): ## i.e. plot(hclust(specimens,"ward.D2"),hang=-1, labels = x[,1], ylab="distance",main="Classification des spécimens") ... or is there

[R] trivial syntax question!

2023-05-15 Thread Nicolas Degallier
Dear R-users, I'm probably using R too sparsely to solve a very trivial difficulty, as I didn't find any clear example in the tutorials on the net. My matrix is as follows (18 rows-individuals x 4 variables-columns: L/l L/L_ely L/e L/L_car LT 1.21875 1.561.857142857