Description Usage Arguments Details Value Examples
View source: R/create_community_matrix.R
This functions lets you extract a community matrix (i.e. stations in rows, taxa in columns) from the TripleD databas.
1 2 3 4 5 6 | get_community_matrix(
database,
taxonomic_level,
abundance_measure,
include_incomplete = TRUE
)
|
database |
A dataframe, database output from the TripleD package. |
taxonomic_level |
The taxonomic level for which you want to create a community matrix. Options:
|
abundance_measure |
The value in the cells. Options:
|
include_incomplete |
Include values based on incomplete data i.e. underestimations? (Default TRUE) |
Missing data filled with 0.
Returns a dataframe with StationID as first row.
1 2 | get_community_matrix(database, "species", "Biomass_g_per_m2")
get_community_matrix(database, "phylum", "Density_nr_per_m2", include_incomplete = FALSE)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.