is_posterior: Determines if the input is a BEAST2 posterior

Description Usage Arguments Value Author(s) Examples

Description

Determines if the input is a BEAST2 posterior

Usage

1

Arguments

x

the input

Value

TRUE if the input contains all information of a BEAST2 posterior. Returns FALSE otherwise.

Author(s)

Richèl J.C. Bilderbeek

Examples

1
2
3
4
5
6
7
  trees_filename <- get_tracerer_path("beast2_example_output.trees")
  log_filename <- get_tracerer_path("beast2_example_output.log")
  posterior <- parse_beast_posterior(
    trees_filename = trees_filename,
    log_filename = log_filename
  )
  testit::assert(is_posterior(posterior))

ropensci/tracerer documentation built on May 14, 2019, 8:55 p.m.