get_tree_priors_n_params: Get the number of parameters a list of tree priors has

View source: R/get_tree_priors_n_params.R

get_tree_priors_n_paramsR Documentation

Get the number of parameters a list of tree priors has

Description

Get the number of parameters a list of tree priors has

Usage

get_tree_priors_n_params(tree_priors)

Arguments

tree_priors

one or more tree priors, as returned by create_tree_prior

Value

the number of parameters the tree priors have

Author(s)

Richèl J.C. Bilderbeek

Examples

check_empty_beautier_folder()

# Two
get_tree_priors_n_params(
  list(
    create_bd_tree_prior(), # zero
    create_cep_tree_prior() # two
  )
)

check_empty_beautier_folder()

beautier documentation built on Nov. 2, 2023, 5:08 p.m.