Dear Jari Oksanen:
                First of all, many thanks for your kindly advice of the 'picante' package.
                I have justly downloaded this package, and I will study this package carefully very soon.
                Many thanks for your valuable comments.
                best regards,

your sincerely,
                      zongshan, Li 

Zongshan, Li，zsli_st@rcees.ac.cn
2009-08-31 
----- Original Message ----- 
From: Jari Oksanen 
To: zsli_st,r-sig-ecology 
Sent: 2009-08-31, 00:07:06
Subject: Re: [R-sig-eco] How to change a coefficient matrix into asemi-matrix?


On 30/08/2009 17:26, "Zongshan, Li" <zsli_st@rcees.ac.cn> wrote:

> Dear all of r-sig-ecology:
> 
> I have a coefficient matrix produced by Phylocom, for example:
> plot1 plot2 plot3 plot4 plot5
> plot1 245.76 258.94 252.88 254.23 249.19
> plot2 258.94 269.58 264.39 265.55 261.85
> plot3 252.88 264.39 259.87 260.42 256.30
> plot4 254.23 265.55 260.42 262.75 257.44
> plot5 249.19 261.85 256.30 257.44 254.01
> I want to do the hierarchical cluster analysis in R with the funtion: hclust,
> but the format of input data of hclust is semi-matrix, for example:
> plot1 plot2 plot3 plot4
> plot2 258.94
> plot3 252.88 264.39
> plot4 254.23 265.55 260.42
> plot5 249.19 261.85 256.30 257.44
> 
> Is there some function in R to change a matrix into the format of semi-matrix?
> Thanks a lot! Best regards to all of you!
> 

Zongshan,

Gav already told you about 'as.dist'. Here some more news: check the
'picante' package which is Phylocom in R.

cheers, jari oksanen

	[[alternative HTML version deleted]]

