Determine if the object is a valid constant coalescence population tree prior
Source:R/is_tree_prior.R
is_ccp_tree_prior.Rd
Determine if the object is a valid constant coalescence population tree prior
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())
#> [1] TRUE
!is_ccp_tree_prior(create_cbs_tree_prior())
#> [1] TRUE
is_ccp_tree_prior(create_ccp_tree_prior())
#> [1] TRUE
!is_ccp_tree_prior(create_cep_tree_prior())
#> [1] TRUE
!is_ccp_tree_prior(create_yule_tree_prior())
#> [1] TRUE
check_empty_beautier_folder()