calc_DIC: DIC calculation

Description Usage Arguments Value

View source: R/analyses.R

Description

Given an MCMC chain, calculates the DIC

Usage

1
calc_DIC(lik.fun, chain)

Arguments

lik.fun

the posterior calculating function

chain

the MCMC chain to be tested

Value

a single DIC value


jameshay218/lazymcmc documentation built on Sept. 16, 2021, 12:14 a.m.