rsglmm_inla | R Documentation |
Fit a Restricted Spatial Generalized Linear Mixed model using INLA
rsglmm_inla( data, formula, family, E = NULL, n = NULL, proj = "none", nsamp = 1000, ... )
data |
a data frame or list containing the variables in the model. |
formula |
an object of class "formula" (or one that can be coerced to that class): a symbolic description of the model to be fitted. |
family |
some current options are: "gaussian", "poisson" and "binomial"; the choice depending on the approach. |
E |
known component, in the mean for the Poisson likelihoods defined as E = exp(η), where η is the linear predictor. Default = 1 |
n |
a vector containing the number of trials for the binomial likelihood, or the number of required successes for the nbinomial2 likelihood. Default value is set to 1.. |
proj |
"none", "rhz" or "spock" |
nsamp |
number of samples. Default = 1000. |
... |
other parameters used in ?INLA::inla |
$unrestricted |
A list containing
|
$restricted |
A list containing
|
$out |
INLA output |
$time |
time elapsed for fitting the model |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.