is_tree_prior_name {beautier}R Documentation

Determines if the name is a valid tree prior name

Description

Determines if the name is a valid tree prior name

Usage

is_tree_prior_name(name)

Arguments

name

the name to be tested

Value

TRUE if the name is a valid tree_prior name, FALSE otherwise

Author(s)

Richèl J.C. Bilderbeek

Examples

check_empty_beautier_folder()

# TRUE
is_tree_prior_name("birth_death")
is_tree_prior_name("coalescent_bayesian_skyline")
is_tree_prior_name("coalescent_constant_population")
is_tree_prior_name("coalescent_exp_population")
is_tree_prior_name("yule")
# FALSE
is_tree_prior_name("nonsense")

check_empty_beautier_folder()

[Package beautier version 2.6.12 Index]