is_ccp_tree_prior: Determine if the object is a valid constant coalescence...

View source: R/is_tree_prior.R

is_ccp_tree_priorR Documentation

Determine if the object is a valid constant coalescence population tree prior

Description

Determine if the object is a valid constant coalescence population tree prior

Usage

is_ccp_tree_prior(x)

Arguments

x

an object, to be determined if it is a valid constant coalescence population tree prior

Value

TRUE if x is a valid constant coalescence population tree prior, FALSE otherwise

Author(s)

Richèl J.C. Bilderbeek

See Also

Use create_ccp_tree_prior to create a valid constant coalescence population tree prior

Examples

check_empty_beautier_folder()
  !is_ccp_tree_prior(create_bd_tree_prior())
  !is_ccp_tree_prior(create_cbs_tree_prior())
  is_ccp_tree_prior(create_ccp_tree_prior())
  !is_ccp_tree_prior(create_cep_tree_prior())
  !is_ccp_tree_prior(create_yule_tree_prior())
check_empty_beautier_folder()

beautier documentation built on Nov. 2, 2023, 5:08 p.m.