is_bd_tree_prior {beautier}R Documentation

Determine if the object is a valid Birth Death tree prior

Description

Determine if the object is a valid Birth Death tree prior

Usage

is_bd_tree_prior(x)

Arguments

x

an object, to be determined if it is a valid birth death tree prior

Value

TRUE if x is a valid birth death tree prior, FALSE otherwise

Author(s)

Richèl J.C. Bilderbeek

See Also

Use create_bd_tree_prior to create a valid Birth-Death tree prior

Examples

check_empty_beautier_folder()

  is_bd_tree_prior(create_bd_tree_prior())
  !is_bd_tree_prior(create_cbs_tree_prior())
  !is_bd_tree_prior(create_ccp_tree_prior())
  !is_bd_tree_prior(create_cep_tree_prior())
  !is_bd_tree_prior(create_yule_tree_prior())

check_empty_beautier_folder()

[Package beautier version 2.6.12 Index]