get_tree_priors_n_params {beautier}R 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()

[Package beautier version 2.6.12 Index]