is_clock_model: Determine if the object is a valid clock_model

View source: R/is_clock_model.R

is_clock_modelR Documentation

Determine if the object is a valid clock_model

Description

Determine if the object is a valid clock_model

Usage

is_clock_model(x)

Arguments

x

an object, to be determined if it is a clock_model

Value

TRUE if the clock_model is a valid clock_model, FALSE otherwise

Author(s)

Richèl J.C. Bilderbeek

See Also

see create_clock_model for an overview of functions to create valid clock model

Examples

check_empty_beautier_folder()

# TRUE
is_clock_model(create_strict_clock_model())
is_clock_model(create_rln_clock_model())

# FALSE
is_clock_model(NA)
is_clock_model(NULL)
is_clock_model("nonsense")
is_clock_model(create_jc69_site_model())
is_clock_model(create_mcmc())

check_empty_beautier_folder()

beautier documentation built on Nov. 2, 2023, 5:08 p.m.