get_posterior: Get posterior distributions of MCMC runs

View source: R/mcmc_posterior.R

get_posteriorR Documentation

Get posterior distributions of MCMC runs

Description

Gets posterior distributions of the Markov chain Monte Carlo (MCMC) runs

Usage

get_posterior(run, burnin, rep, par_names)

Arguments

run

object of class "mcmcSamplerList" and "bayesianOutput"

burnin

intenger representing number of samples to remove as burnin

rep

string representing replicate of MCMC run

par_names

vector containinig the parameter names

Value

a dataframe containing posterior distributions for each paramater in the model, with an additional column indicating the replicate number.

Examples

# TO DO

thednainus/senegalHIVmodel documentation built on Oct. 14, 2024, 5:46 a.m.