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 or FALSE

Author(s)

Richel J.C. Bilderbeek

Examples

 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))

beast-dev/RBeast documentation built on May 12, 2019, 10:02 a.m.