
Calculates the Effective Sample Sizes from a parsed BEAST2 log file
Source:R/calc_esses.R
calc_esses.Rd
Calculates the Effective Sample Sizes from a parsed BEAST2 log file
Examples
# Parse an example log file
estimates <- parse_beast_tracelog_file(
get_tracerer_path("beast2_example_output.log")
)
# Calculate the effective sample sizes of all parameter estimates
calc_esses(estimates, sample_interval = 1000)
#> posterior likelihood prior treeLikelihood TreeHeight BirthDeath birthRate2
#> 1 11 11 11 11 8 11 11
#> relativeDeathRate2
#> 1 7