Description Usage Arguments Value Author(s) Examples
View source: R/presenceMatrix.R
Creates a community matrix of taxon presences and absences from a data frame with a column of sites and a column of species.
1 | presenceMatrix(Data, Rows = "geoplate", Columns = "genus")
|
Data |
A dataframe or matrix |
Rows |
A characer string |
Columns |
A character string |
A presence-absence matrix
Andrew A. Zaffos
1 2 3 4 5 6 7 8 | # Download a test dataset of pleistocene bivalves.
# DataPBDB<-downloadPBDB(Taxa="Bivalvia","Pleistocene","Pleistocene")
# Create a community matrix of genera by plates.
# CommunityMatrix<-presenceMatrix(DataPBDB,Rows="geoplate",Columns="genus")
# Create a community matrix of families by geologic interval.
# CommunityMatrix<-presenceMatrix(DataPBDB,Rows="early_interval",Columns="family")
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.