get_tree_prior_n_params {beautier} | R Documentation |
Get the number of parameters a tree prior has
Description
Get the number of parameters a tree prior has
Usage
get_tree_prior_n_params(tree_prior)
Arguments
tree_prior |
a tree_prior,
as created by |
Value
the number of parameters a tree prior has
Author(s)
Richèl J.C. Bilderbeek
Examples
check_empty_beautier_folder()
# birth_rate_distr is uniform, which has zero parameters
# death_rate_distr is uniform, which has zero parameters
get_tree_prior_n_params(create_bd_tree_prior())
# no distributions, no parameters
get_tree_prior_n_params(create_cbs_tree_prior())
# pop_size_distr is 1/x, which has zero parameters
get_tree_prior_n_params(create_ccp_tree_prior())
# pop_size_distr is 1/x, which has zero parameters
# growth_rate_distr is Laplace, which has two parameters
get_tree_prior_n_params(create_cep_tree_prior())
# birth_rate_distr is uniform, which has zero parameters
get_tree_prior_n_params(create_yule_tree_prior())
check_empty_beautier_folder()
[Package beautier version 2.6.12 Index]