matrix2sample {picante}R Documentation

Convert community data matrix to Phylocom sample

Description

Converts a community data matrix to a Phylocom database-format community sample

Usage

matrix2sample(z)

Arguments

z

Community data matrix

Value

Phylocom database-format community sample

Author(s)

Steven Kembel <steve.kembel@gmail.com> and Cam Webb <cwebb@oeb.harvard.edu>

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/.

Examples

data(phylocom)
matrix2sample(phylocom$sample)

[Package picante version 1.8.2 Index]