Learn R Programming

beautier (version 2.6.12)

is_hky_site_model: Determine if the object is a valid HKY site model, as created by create_hky_site_model

Description

Determine if the object is a valid HKY site model, as created by create_hky_site_model

Usage

is_hky_site_model(x)

Value

TRUE if x is a valid HKY site model, FALSE otherwise

Arguments

x

an object, to be determined if it is a valid HKY site model

Author

Richèl J.C. Bilderbeek

Examples

Run this code
check_empty_beautier_folder()

# site models
is_hky_site_model(create_hky_site_model())
is_hky_site_model(create_gtr_site_model())
is_hky_site_model(create_jc69_site_model())
is_hky_site_model(create_tn93_site_model())

# other models
is_hky_site_model(NA)
is_hky_site_model(NULL)
is_hky_site_model("nonsense")
is_hky_site_model(create_strict_clock_model())
is_hky_site_model(create_bd_tree_prior())
is_hky_site_model(create_mcmc())

check_empty_beautier_folder()

Run the code above in your browser using DataLab