Description Usage Arguments Value
glm.env.fn
fits the plateau envelope as part of a GLM. It is called
by the function fit.glm.env
and is not intended for use interactively.
At present, only binary (logistic) response models for presence/absence
data are implemented.
1 2 3 |
pars |
The vector of envelope parameters, length 2p+p+2+p(p-1)/2. |
data |
The data frame (with n rows) containing all the variables for analysis. |
y |
A string denoting the binary response variable (taking values 0 or 1 for absence and
presence respectively); must correspond to a column name in the data frame
specied at |
x.clim |
A vector (length p) of strings denoting which columns in the supplied data
frame correspond to the climate covariates; must correspond to column names in the data frame
specied at |
x.nonclim |
A vector (length p2) of strings denoting which columns in the supplied data
frame correspond to the non-climate covariates; must correspond to column names in the data frame
specied at |
x.nonclim.formula |
The pre-specified formula if non-climate variables OR factor variables are included. |
x.factor |
A vector (length p3) of strings denoting which columns in the supplied data
frame correspond to the non-climate factors; must correspond to column names in the data frame
specied at |
constrain.beta |
Should a ridge penalty be imposed on the betas
(slopes)? Takes the form either of: a matrix of dimension p by 2
(specifying |
slope.limit |
Scalar putting an upper bound on the envelope slopes;
limit is approximately |
The (scalar) deviance for fitted GLM using specified envelope (possibly including a ridge penalty if set).
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.