check_model_type: Checks if model type is valid Will stop if not.

View source: R/check_model_type.R

check_model_typeR Documentation

Checks if model type is valid Will stop if not.

Description

Checks if model type is valid Will stop if not.

Usage

check_model_type(model_type)

Arguments

model_type

type of inference model supplied for an experiment. Possible values:

  • generative: the inference model is (or is assumed to be) the inference model underlying the phylogeny

  • candidate: the inference model is a candidate model, that competes with other models for having the most evidence (aka highest marginal likelihood)

Value

nothing. Will stop if not

Author(s)

Giovanni Laudanno, Richèl J.C. Bilderbeek

Examples

check_model_type(get_model_type_names()[1])
check_model_type(get_model_type_names()[2])

richelbilderbeek/pirouette documentation built on Oct. 18, 2023, 3:09 p.m.