Get the number of parameters a list of tree priors has
Source:R/get_tree_priors_n_params.R
get_tree_priors_n_params.Rd
Get the number of parameters a list of tree priors has
Arguments
- tree_priors
one or more tree priors, as returned by
create_tree_prior
Examples
check_empty_beautier_folder()
# Two
get_tree_priors_n_params(
list(
create_bd_tree_prior(), # zero
create_cep_tree_prior() # two
)
)
#> [1] 2
check_empty_beautier_folder()