Get the number of distributions a tree prior has
Source:R/get_tree_priors_n_distrs.R
get_tree_priors_n_distrs.Rd
Get the number of distributions a tree prior has
Arguments
- tree_priors
one or more tree priors, as returned by
create_tree_prior
Examples
check_empty_beautier_folder()
# Three distrubutions
get_tree_priors_n_distrs(
list(
create_bd_tree_prior(), # has two distributions
create_ccp_tree_prior() # has one distribution
)
)
#> [1] 3
check_empty_beautier_folder()