glance.dic: Glance upon your dic samples to get the penalised deviance

Description Usage Arguments Value Author(s) Examples

View source: R/glance.dic.R

Description

This provides a one-row dataframe (data.table) with information on the overall deviance, effective number of parameters (when type was pD) or optimism (when type was popt), and resulting penalised deviance.

Usage

1
2
## S3 method for class 'dic'
glance(x, ...)

Arguments

x

a dic object generated by rjags::dic.samples

...

(optional) additional arguments to pass

Value

a one-row dataframe of summary information of the dic samples

Author(s)

Sam Clifford, sj.clifford@gmail.com

Examples

1
2
3
4
library(rjags)
example_jags_model$recompile()
model_dic <- dic.samples(example_jags_model, n.iter = 1000)
glance(model_dic)

njtierney/dsmcmc documentation built on Oct. 4, 2021, 10:17 p.m.