is_jc69_site_model: Determine if the object is a valid JC69 site model

View source: R/is_site_model.R

is_jc69_site_modelR Documentation

Determine if the object is a valid JC69 site model

Description

Determine if the object is a valid JC69 site model

Usage

is_jc69_site_model(x)

Arguments

x

an object, to be determined if it is a valid JC69 site model

Value

TRUE if x is a valid JC69 site model, FALSE otherwise

Author(s)

Richèl J.C. Bilderbeek

Examples

check_empty_beautier_folder()

# site models
is_jc69_site_model(create_gtr_site_model())
is_jc69_site_model(create_hky_site_model())
is_jc69_site_model(create_jc69_site_model())
is_jc69_site_model(create_tn93_site_model())

# other models
is_jc69_site_model(NA)
is_jc69_site_model(NULL)
is_jc69_site_model("nonsense")
is_jc69_site_model(create_strict_clock_model())
is_jc69_site_model(create_bd_tree_prior())
is_jc69_site_model(create_mcmc())

check_empty_beautier_folder()

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