get_tree_priors_n_distrs: Get the number of distributions a tree prior has

View source: R/get_tree_priors_n_distrs.R

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

richelbilderbeek/beautier documentation built on April 4, 2024, 12:33 p.m.