Use create_gtr_site_model to create a valid GTR nucleotide substitution model.

check_gtr_site_model(gtr_site_model)

Arguments

gtr_site_model

a GTR site model, as returned by create_gtr_site_model

Examples

check_gtr_site_model(create_gtr_site_model())
#> [1] TRUE