get_tree_priors_n_distrs {beautier}R Documentation

Get the number of distributions a tree prior has

Description

Get the number of distributions a tree prior has

Usage

get_tree_priors_n_distrs(tree_priors)

Arguments

tree_priors

one or more tree priors, as returned by create_tree_prior

Value

the number of distributions a tree prior has

Author(s)

Richèl J.C. Bilderbeek

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

check_empty_beautier_folder()

[Package beautier version 2.6.12 Index]