Description Usage Arguments Details Value Examples
get_sens
returns the sensitivity of each taxon in a community data
frame (sp
) to an environmental gradient (env_grad
).
1 | get_sens(sp, env_grad, mid = 5)
|
sp |
community data frame (sites as rows, taxa as columns, observations as values). |
env_grad |
numeric vector of environmental gradient scores, one for each site. |
mid |
numeric scalar taken as the gradient's midpoint for sensitivity (default is 5). |
Sensitivity is defined here by first finding how many detections were made
above and below the midpoint (mid
) of the gradient, taking their
difference, and finally dividing this by the number of detections. Taxa with
more detections below (mid
) than above will have a negative
sensitivity and vice versa. Note that while function est_brc
requires that a reference gradient scaled to 0-10, get_sens
does not
require this.
A data frame containing each taxon's sensitivity (Sens
) to the
gradient, and the number of sites the they were detected at (n
).
1 2 3 4 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.