Description Usage Arguments Value
This is a wrapper for make_mob_in() that accepts a long format data frame as input and converts it to a community matrix comm
and a plot attribute table plot_attr
. Both are then passed on to make_mob_in(). Furthermore, it has an option to exclude samples with low numbers of individuals and their respective gammas.
1 2 3 4 |
dat |
A single long format data.frame with species observations as rows. Species name (i.e |
taxon |
name of taxon column |
alpha_id |
name of alpha_id column. This assigns the observation to a sample at the alpha scale. |
gamma_id |
name of gamma_id column. This assigns the observation to a group at the gamma scale |
count |
name of the column containing the individual counts (i.e. abundances) of the observation. |
coord_names |
character vector with the names of the x and y coordinates. |
min_n |
numeric. minimal number of indiviual required for a sample to be considered. |
exclude_gamma |
boolean. If samples are excluded due to low sample size (see min_n), shall the entire group (i.e. gamma_id) be excluded? |
... |
arguments passed on to make_mob_in. |
a mob_in object.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.