Hellow, I am running a set of simulations with distance matrices used as input to pcoa (package ape).
In one instance the matrix (DH) is H18 H20 H21 H18 0.0000000 0.3127452190 0.3127452190 H20 0.3127452 0.0000000000 0.0001625185 H21 0.3127452 0.0001625185 0.0000000000 when I run pcoa I get this H.PCo <- pcoa(DH, correction="none")$vectors Error in array(STATS, dims[perm]) : 'dims' cannot be of length 0 However, if I multiply DH*10 pcoa runs just fine: H.PCo <- pcoa(DH*10, correction="none")$vectors A word of explanation will be very much appreciated. Thank you for your attention Juan A. Balbuena -- Dr. Juan A. Balbuena Cavanilles Institute of Biodiversity and Evolutionary Biology Symbiont Ecology and Evolution Lab University of Valencia http://www.uv.es/~balbuena <http://www.uv.es/%7Ebalbuena> P.O. Box 22085 http://www.uv.es/cophylpaco <http://www.uv.es/cophylpaco> 46071 Valencia, Spain e-mail: j.a.balbu...@uv.es <mailto:j.a.balbu...@uv.es>tel. +34 963 543 658 fax +34 963 543 733 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ *NOTE!*For shipments by EXPRESS COURIER use the following street address: C/ Catedrático José Beltrán 2, 46980 Paterna (Valencia), Spain. ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ [[alternative HTML version deleted]] _______________________________________________ R-sig-phylo mailing list - R-sig-phylo@r-project.org https://stat.ethz.ch/mailman/listinfo/r-sig-phylo Searchable archive at http://www.mail-archive.com/r-sig-phylo@r-project.org/