check_clock_models: Check if the object is a list of one or more clock models.

View source: R/check_clock_models.R

check_clock_modelsR Documentation

Check if the object is a list of one or more clock models.

Description

Will stop if the object is not a list of one or more clock models.

Usage

check_clock_models(clock_models)

Arguments

clock_models

the object to be checked if it is a list of one or more valid clock models

Value

nothing. Will stop if the object is not a list of one or more clock models.

Author(s)

Richèl J.C. Bilderbeek

See Also

Use create_clock_model to create a valid clock model

Examples

check_empty_beautier_folder()

check_clock_models(create_strict_clock_model())
check_clock_models(list(create_strict_clock_model()))
check_clock_models(
  list(create_strict_clock_model(), create_rln_clock_model())
)

check_empty_beautier_folder()

ropensci/beautier documentation built on July 9, 2024, 6:14 a.m.