Description Usage Arguments Value See Also
Takes output from dat4jags
, sets up initial values, calls JAGS, and
aggregates results. Intended for internal use, called by fit_ssm
.
1 | ssm(d, model = "DCRW", adapt, samples, thin, chains, span)
|
d |
structured data from |
model |
the state-space model to be fit: DCRW or DCRWS |
adapt |
number of samples in adaptation/burnin phase |
samples |
number of posterior samples |
thin |
thinning factor to reduce posterior sample autocorrelation |
chains |
number of parallel McMC chains to run |
span |
span |
Returns a list of McMC samples from marginal posteriors and a
summary data.frame
of mean and median position estimates.
Function to be called by fit_ssm
.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.