Learn R Programming

beautier (version 2.6.12)

check_tree_priors: Check if the object is a list of one or more tree priors.

Description

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

Usage

check_tree_priors(tree_priors)

Value

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

Arguments

tree_priors

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

Author

Richèl J.C. Bilderbeek

See Also

Use create_tree_prior to create a valid tree prior

Examples

Run this code
check_empty_beautier_folder()

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()))

check_empty_beautier_folder()

Run the code above in your browser using DataLab