Description Usage Arguments Value Author(s) Examples
Determines if the input is a BEAST2 posterior
1 | is_posterior(x)
|
x |
the input |
TRUE or FALSE
Richel J.C. Bilderbeek
1 2 3 4 5 6 7 8 9 10 11 | trees_filename <- system.file(
"extdata", "beast2_example_output.trees", package = "RBeast"
)
log_filename <- system.file(
"extdata", "beast2_example_output.log", package = "RBeast"
)
posterior <- parse_beast_posterior(
trees_filename = trees_filename,
log_filename = log_filename
)
testit::assert(is_posterior(posterior))
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.