Parses a BEAST2 .log output file

parse_beast_log(filename)

Arguments

filename

name of the BEAST2 .log output file

Value

data frame with the parameter estimates

See also

Use remove_burn_ins to remove the burn-in from the returned parameter estimates. Use save_beast_estimates to save the estimates to a .log file.

Author

Richèl J.C. Bilderbeek

Examples

log_filename <- get_tracerer_path("beast2_example_output.log") estimates <- parse_beast_log(filename = log_filename) expected_names <- c( "Sample", "posterior", "likelihood", "prior", "treeLikelihood", "TreeHeight", "BirthDeath", "birthRate2", "relativeDeathRate2" ) testit::assert(names(estimates) == expected_names)