Description Usage Arguments Value Author(s)
Estimate model parameters in GLMM using rstan with no environmental covariates
1 2 | model_nocovars(y, lag, K, X, cellid, iters = 2000, warmup = 1000,
nchains = 1, inits)
|
y |
Vector of responses (cover observations) |
lag |
Vector of lag response for temporal response (previous year's cover) |
K |
Spatial field matrix |
cellid |
Vector of unique ID's for each spatial cell, replicate through time |
iters |
Number of MCMC iterations to run |
warmup |
Number of MCMC iterations to throw out before sampling (< iters) |
nchains |
Number of MCMC chains to sample |
inits |
A list of lists whose length is equal to number of chains. Elements include initial values for parameters to be estimated. |
A list with ggs object with MCMC values from rstan and Rhat values for each parameter.
Andrew Tredennick
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.