plot_posterior_predictive_check: Display and analysis of inference output

Description Usage Arguments Author(s)

Description

Plots the marginal and joint posterior distributions of teh inferred parameter and carries out teh posterior predictive check.

Usage

1
plot_posterior_predictive_check<-function(output, n_param, n_target_sim, n_cores, mutationRate, popSize, n_step_for_sample)

Arguments

output

joint posterior distribution of inferred parameters in .txt format

nParam

number of parameter to be inferred

n_target_sim

number of simulations

n_cores

number of cores used

mutationRate

mutation rate per transmission event

popSize

vector containing the size of the population for each time step

n_step_for_sample

number of (theoretical) populations (at time steps t(j-n_step_for_sample+1),...,tj) from which the samples at tj are evenly drawn

Author(s)

Clementine Straub


annenna4/culturechange documentation built on May 30, 2019, 6:54 p.m.