Determine if the object is a valid GTR site model, as created by create_gtr_site_model
Source: R/is_site_model.R
is_gtr_site_model.Rd
Determine if the object is a valid GTR site model,
as created by create_gtr_site_model
Examples
check_empty_beautier_folder()
# site models
is_gtr_site_model(create_gtr_site_model())
#> [1] TRUE
is_gtr_site_model(create_hky_site_model())
#> [1] FALSE
is_gtr_site_model(create_jc69_site_model())
#> [1] FALSE
is_gtr_site_model(create_tn93_site_model())
#> [1] FALSE
# other models
is_gtr_site_model(NA)
#> [1] FALSE
is_gtr_site_model(NULL)
#> [1] FALSE
is_gtr_site_model("nonsense")
#> [1] FALSE
is_gtr_site_model(create_strict_clock_model())
#> [1] FALSE
is_gtr_site_model(create_bd_tree_prior())
#> [1] FALSE
is_gtr_site_model(create_mcmc())
#> [1] FALSE
check_empty_beautier_folder()