get_chains: Import and bind chains for estimation

Description Usage Arguments Value

View source: R/diagnostic_functions.R

Description

This functions takes a file path, finds and imports all the .csv files in that directory and then tries to bind them. If specified, it will also remove a burnin period and thin.

Usage

1
get_chains(path, burnin, thin)

Arguments

path

file path to estimation directory

burnin

burnin iterations to remove

thin

factor to thin chain by

Value

mcmc_out - data frame of estimation


mrc-ide/YFestimation documentation built on March 13, 2021, 1:40 p.m.