Will stop if the object is not a list of one or more tree priors.

check_tree_priors(tree_priors)

Arguments

tree_priors

the object to be checked if it is a list of one or more valid tree priors

Value

nothing. Will stop if the object is not a list of one or more tree priors.

See also

Use create_tree_prior to create a valid tree prior

Author

Richèl J.C. Bilderbeek

Examples

check_tree_priors(create_yule_tree_prior())
check_tree_priors(list(create_yule_tree_prior()))
check_tree_priors(list(create_yule_tree_prior(), create_bd_tree_prior()))