JAGS_marglik_parameters {BayesTools}R Documentation

Extract parameters for 'JAGS' priors

Description

Extracts transformed parameters from the prior part of a 'JAGS' model inside of a 'bridgesampling' function (returns them as a named list)

Usage

JAGS_marglik_parameters(samples, prior_list)

Arguments

samples

samples provided by bridgesampling function

prior_list

named list of prior distribution (names correspond to the parameter names)

Value

JAGS_marglik_parameters returns a named list of (transformed) posterior samples.


[Package BayesTools version 0.1.3 Index]