histogram_c_chains: histogram_c_chains

View source: R/histogram_c_chains.R

histogram_c_chainsR Documentation

histogram_c_chains

Description

Compute histogram approximations of marginal distributions based on coupled Markov chains

Usage

histogram_c_chains(
  c_chains,
  component,
  k,
  m,
  breaks = NULL,
  nclass = 30,
  dopar = FALSE
)

Arguments

c_chains

A list of coupled chains, each as produced by sample_coupled_chains

component

An integer specifying which marginal to approximate

k

An integer (see H_bar)

m

Another integer (see H_bar)

breaks

A vector indicating how to bin the space (optional)

nclass

An integer specifying the number of bins to aim for, if "breaks" is not specified

dopar

A boolean indicating whether to parallelize the computation (requires doParallel and having registed parallel cores)


pierrejacob/debiasedmcmc documentation built on Aug. 22, 2022, 12:41 a.m.