Description Usage Arguments Value Author(s) Examples
Parses a BEAST2 .log output file
1 | parse_beast_log(filename)
|
filename |
name of the BEAST2 .log output file |
data frame with all the parameter estimates
Richel J.C. Bilderbeek
1 2 3 4 5 6 7 8 9 10 | log_filename <- system.file(
"extdata", "beast2_example_output.log", package = "RBeast"
)
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)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.