Description Usage Arguments Details Value
Spatial model for presence-absence data using INLA. This function is essentially a specialized wrapper over inla
1 2 3 4 5 6 7 8 9 10 11 12 |
formula |
A formula that relates the response and some (or all) of the explanatory variables |
sPoints |
A |
explanaMesh |
An object of class |
offset |
A character string defining the explanatory variable in |
family |
A character string describing the error distribution to be used when constructing the model. |
link |
A character string describing the link function to be used when constructing the model. |
smooth |
A single value ranging between 0 and 2 passed to |
prior.range |
A vector of length 2, with (range0, Prange) specifying that P(ρ < ρ_0) = p_ρ, where ρ is the spatial range of the random field. If Prange is NA, then range0 is used as a fixed range value. Default is c(0.05, 0.01). |
prior.sigma |
A vector of length 2, with (sigma0, Psigma) specifying that P(σ > σ_0) = p_σ, where σ is the marginal standard deviation of the field. If Psigma is NA, then sigma0 is used as a fixed range value. Default is c(1, 0.01). |
... |
Arguments passed to |
The underlying model used by this function is a generalized spatial linear model using the cloglog link function. The idea to use the cloglog link function instead of another link function (e.g. logit or probit) is that it is more flexible.
An object of class uniSpace
that includes a model output, which is the model output of INLA.
In addition, it includes a series of attributes:
|
The formula used to construct the model |
|
A |
|
A matrix with all the explanatory variables used to construct the model. If there were factors in the original set of explanatory variables |
|
A matrix with all the explanatory variables used to construct the model. If there were factors in the original set of explanatory variables |
|
An object of class |
|
An object of class |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.