Convert a Phylocom database-format sample to community data matrix.
sample2matrix(x)
Arguments
x: Phylocom sample formatted data frame, a data frame with three columns:
Column 1Community name
Column 2Species abundance
Column 3Species name
References
Webb, C.O., Ackerly, D.D., and Kembel, S.W. 2008. Phylocom: software for the analysis of phylogenetic community structure and trait evolution. Version 4.0.1. http://www.phylodiversity.net/phylocom/.