Skip to contents

Determine if the object is a valid strict clock model, as returned by create_strict_clock_model

Usage

is_strict_clock_model(x)

Arguments

x

an object, to be determined if it is a valid strict clock model

Value

TRUE if x is a valid strict clock model, FALSE otherwise

See also

create_clock_model shows an overview of functions to create a clock model

Author

Richèl J.C. Bilderbeek

Examples

check_empty_beautier_folder()

is_strict_clock_model(create_strict_clock_model())
#> [1] TRUE
is_strict_clock_model(create_rln_clock_model())
#> [1] FALSE

is_strict_clock_model(NA)
#> [1] FALSE
is_strict_clock_model(NULL)
#> [1] FALSE
is_strict_clock_model("nonsense")
#> [1] FALSE
is_strict_clock_model(create_jc69_site_model())
#> [1] FALSE
is_strict_clock_model(create_mcmc())
#> [1] FALSE

check_empty_beautier_folder()