R/is_trees_posterior.R

Defines functions is_trees_posterior

Documented in is_trees_posterior

#' Determines if the input is a BEAST2 posterior,
#' as parsed by parse_beast_trees
#' @param x the input
#' @return TRUE or FALSE
#' @author Richèl J.C. Bilderbeek
#' @export
is_trees_posterior <- function(x) {
  class(x) == "multiPhylo"
}

Try the tracerer package in your browser

Any scripts or data that you put into this service are public.

tracerer documentation built on Sept. 27, 2023, 5:09 p.m.