Determine if the inference_model
uses a strict clock model.
Source: R/has_strict_clock_model.R
has_strict_clock_model.Rd
Determine if the inference_model
uses a strict clock model
Arguments
- inference_model
a Bayesian phylogenetic inference model. An inference model is the complete model setup in which a site model, clock model, tree prior and more are specified. Use create_inference_model to create an inference model. Use check_inference_model to check if an inference model is valid. Use rename_inference_model_filenames to rename the files in an inference model.
Examples
check_empty_beautier_folder()
# Yes, has a strict clock model
has_strict_clock_model(
create_inference_model(clock_model = create_strict_clock_model())
)
#> [1] TRUE
# No strict clock model
has_strict_clock_model(
create_inference_model(clock_model = create_rln_clock_model())
)
#> [1] FALSE
check_empty_beautier_folder()