parse_beast_log {tracerer}R Documentation

Parses a BEAST2 .log output file

Description

Parses a BEAST2 .log output file

Usage

parse_beast_log(filename)

Arguments

filename

name of the BEAST2 .log output file

Value

data frame with the parameter estimates

Author(s)

Richèl J.C. Bilderbeek

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.

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)

[Package tracerer version 2.0.1 Index]