summarize.hmob: Calculate summary statistics for a model

Description Usage Arguments Value Author(s) See Also

View source: R/hmob_model_funcs.R

Description

This is a wrapper function for MCMCsummary that calculates summary statistics for each parameter in an mcmc.list object. If the model contains deviance and penalty calculations, then Deviance Information Criterion (DIC) is calculated and appended to the summary.

Usage

1
summarize.hmob(mod, ac.lags = c(2, 5, 10))

Arguments

mod

an mcmc.list object

ac.lags

vector of lags over which to calculate autocorrelation of samples within chains (default = c(2,5,10))

Value

a dataframe with summary statistics

Author(s)

John Giles

See Also

Other model: fit.gravity(), fit.jags(), fit.prob.travel(), rjags.combine(), rjags.mcmc.list()


gilesjohnr/hmob documentation built on Aug. 8, 2020, 1:26 a.m.