Generate latent variable of a hierarchical PVA model.
Usage
generateLatent(x, ...)
Arguments
x
A fitted PVA model object.
...
Arguments passed to jags.fit,
such as n.iter, n.chains.
Value
A marix with n.iter * n.chains rows and as
many columns as the length of the time series.
Details
It uses MLE from a fitted PVA model
to generate values for the latent variables.
References
Ponciano, J. M. et al. 2009. Hierarchical models in ecology:
confidence intervals, hypothesis testing,
and model selection using data cloning. Ecology 90, 356-362.