I have a dataframe of abundances with 385 rows (samples) and 82 columns (species).  I am trying to compute the Bray-Curtis dissimilarity between samples.  For some reason, the resulting distance object output by vegdist is empty and when I dim the object the result is NULL.  I don't get any error messages.  The same dataset works in matlab and  Primer.

Does anybody know what might be causing this?  The output is below.  Thanks.

>   dim(guts)
[1] 385  82

>   disBray <- vegdist(guts, method="bray")

>   dim(disBray)
NULL

>   is.matrix(disBray)
[1] FALSE

Dave


David Chagaris
Associate Research Scientist
Florida Fish and Wildlife Conservation Commission
Florida Fish and Wildlife Research Institute
100 8th Ave SE
St. Petersburg, FL  33701
(727) 896-8626 ext. 4305
(727) 893-1374 fax


	[[alternative HTML version deleted]]

