parse_beast_log {tracerer} | R Documentation |
.log
output fileParses a BEAST2 .log
output file
parse_beast_log(filename)
filename |
name of the BEAST2 .log output file |
data frame with the parameter estimates
Richèl J.C. Bilderbeek
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.
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)