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

View source: R/check_tree_priors.R

check_tree_priorsR Documentation

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)

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.

Author(s)

Richèl J.C. Bilderbeek

See Also

Use create_tree_prior to create a valid tree prior

Examples

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

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