extract_mcmc: Extract MCMC output

View source: R/jags helpers.R

extract_mcmcR Documentation

Extract MCMC output

Description

Extract MCMC output

Usage

extract_mcmc(
  name,
  dim_names = NULL,
  quantiles = F,
  samples = F,
  df = NULL,
  add_info = TRUE,
  t_only_model = FALSE,
  sample_name = NULL,
  sample_age = NULL,
  without_name = NULL,
  exact_name = FALSE
)

Arguments

name

name of parameter

dim_names

vector of dimension names that were extracted

quantiles

extract mean and sd or quantiles (default FALSE, which is mean and sd)

df

data.frame optional ,default is res in parent environment

add_info

adds automatically date to t from data and country/region name from colnames of d

sample_name

subsample of name observations to look at. logical takes 16 random. vector of characters takes those. number takes that number at random.

without_name

substrings that should not be taken from mcmc output

exact_name

if name of parameter has to match exactly. standard FALSE.

Value

data.frame


Schmidtpk/InfSup documentation built on Jan. 20, 2024, 12:33 a.m.