res_scale | R Documentation |
Extrapolate resilience observed at the scale of a single spatial or ecological scale b (e.g. a patch or species) to a larger scale, B (e.g. functional group or landscape).
res_scale(
mvar_b,
murho_b_abundance,
mucov_b_abundance = NULL,
msd_b,
murho_b_disturbance,
mucov_b_disturbance = NULL,
b = 1,
B,
lambda
)
mvar_b |
Mean abundance variance observed at scale b |
murho_b_abundance |
Mean Pearson correlation coefficient of abundance values observed at scale b |
mucov_b_abundance |
Mean covariance of abundance values observed at scale b. Ignored unless murho_b_abundance is NULL Defaults to NULL. |
msd_b |
Mean disturbance standard deviation observed at scale b |
murho_b_disturbance |
Mean Pearson correlation coefficient of disturbances observed at scale b |
mucov_b_disturbance |
Mean covariance of disturbances observed at scale b. Ignored unless murho_b_abundance is NULL Defaults to NULL. |
b |
Size of observed scale. Defaults to 1. |
B |
Larger scale being extrapolated to (e.g. total number of species, or size of patch B relative to b) |
lambda |
Mean disturbance frequency. |
Extrapolated median resilience at scale of M species.
# extrapolate from scale of 1 species to 10 species
res_scale(mvar_b = 0.25, murho_b_abundance = -0.034, msd_b = sqrt(0.1),
murho_b_disturbance = 0, B = 30, lambda=1)
# plot relationship for groups of 1 to 30 species
plot(1:30, res_scale(mvar_b = 0.25, murho_b_abundance = -0.034, msd_b = sqrt(0.1),
murho_b_disturbance = 0, B = 1:30, lambda=1),
xlab="ecological scale", ylab="resilience, r", type="b")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.