
Dear Dr.Gavin Simpson:
     I appreciate your timely help very much. I have sucessfully solved my problem with the funtion:as.dist().
     Thanks, again.
     Best regards,

your sincerely, 

                         zongshan, Li

        







> 
> Is there some function in R to change a matrix into the format of
> semi-matrix?

See as.dist? to go from the full matrix format to an object of class
'dist' as required by hclust.

HTH



> Thanks a lot! Best regards to all of you! 
> 
> 
> Zongshan, Lizsli_st@rcees.ac.cn
> 2009-08-30 
> 
> -------------------
> Zongshan, Li
> Research Center for Eco-Environmental Sciences, Chinese Academy of Science
> P. O. Box 2871
> 18 Shuangqing Road, Haidian District, Beijing, 100085
> Peoples Republic of China
> Tel:0086-10-13699145748
> Fax:0086-10-62923549
> Email:zsli_st@rcees.ac.cn
> 
> 
> 
> [[alternative HTML version deleted]]
> 
> _______________________________________________
> R-sig-ecology mailing list
> R-sig-ecology@r-project.org
> https://stat.ethz.ch/mailman/listinfo/r-sig-ecology
-- 
%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%
 Dr. Gavin Simpson [t] +44 (0)20 7679 0522
 ECRC, UCL Geography, [f] +44 (0)20 7679 0565
 Pearson Building, [e] gavin.simpsonATNOSPAMucl.ac.uk
 Gower Street, London [w] http://www.ucl.ac.uk/~ucfagls/
 UK. WC1E 6BT. [w] http://www.freshwaters.org.uk
%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%

	[[alternative HTML version deleted]]

