Description Usage Arguments Details Value References See Also
Implementation of the methods by Danz et al. (2012).
1 2 | calc_Danz2012_abruptness_2D(i, doms, use_dims, x1d, z1d, x2d, z2d,
seed = NULL, include_lm = FALSE)
|
i |
An integer value. The transect ID (only used for informative warning messages). |
doms |
A named list of named options as a list that defines models which are applied to the data. See details. |
use_dims |
A logical vector of length 2. Value of first/second element indicates if 1/2-dimensional models are estimated. |
x1d |
A numeric vector. The 1-dimensional predictor along the ecotone transect from left-right. The length of x has to correspond to the ecotone transect. For instance, distance along the transect. |
z1d |
A numeric vector. The 1-dimensional outcome along the ecotone transect, e.g., vegetation density. |
x2d |
A |
z2d |
A |
seed |
An integer value, |
include_lm |
A logical value. If |
doms
contains the named items
tag
: descriptive character string of the model;
cond
: character string that evaluates to a logical value expressing under which conditions the model should be calculated;
fun
: model function as character string;
family
: error distribution function as character string (see family
);
link
: model link function as character string (see make.link
);
random
: a character string representing the random effects if any (see glmer
for calls to m_glmm_lme4
, respectively glmmPQL
for calls to m_glmm_PQL
);
correlation
: NULL
or a character string representing the residual correlation structure for m_glmm_PQL
(see glmmPQL
);
ytrans
: optional - a function applied to outcome z before model fitting;
ytransinv
: optional - the backtransformation of ytrans
applied after model fitting.
A named list with three items ‘fits’, ‘plot_preds’, and ‘plot_data’
Danz, N. P., L. E. Frelich, P. B. Reich, and G. J. Niemi. 2012. Do vegetation boundaries display smooth or abrupt spatial transitions along environmental gradients? Evidence from the prairie-forest biome boundary of historic Minnesota, USA. Journal of Vegetation Science 24:1129-1140.
Danz2012JVegSci_2D
, and the possible model functions m_glm
, m_glmm_lme4
, and m_sig
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.