is_site_model {beautier} | R Documentation |
Determine if the object is a valid site_model
Description
Determine if the object is a valid site_model
Usage
is_site_model(x)
Arguments
x |
an object, to be determined if it is a site_model |
Value
TRUE if the site_model is a valid site_model, FALSE otherwise
See Also
A site model can be created using create_site_model
Examples
check_empty_beautier_folder()
# TRUE
is_site_model(create_gtr_site_model())
is_site_model(create_hky_site_model())
is_site_model(create_jc69_site_model())
is_site_model(create_tn93_site_model())
# FALSE
is_site_model(NA)
is_site_model(NULL)
is_site_model("nonsense")
is_site_model(create_strict_clock_model())
is_site_model(create_bd_tree_prior())
is_site_model(create_mcmc())
check_empty_beautier_folder()
[Package beautier version 2.6.12 Index]