Learn R Programming

beautier (version 2.6.12)

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

Value

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

Arguments

name

the name to be tested

Author

Richèl J.C. Bilderbeek

Examples

Run this code
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()

Run the code above in your browser using DataLab