Determine if the object is a valid relaxed log normal clock model

is_rln_clock_model(x)

Arguments

x

an object, to be determined if it is a valid relaxed log normal clock model, as created by create_rln_clock_model)

Value

TRUE if x is a valid relaxed log normal 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


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

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