check_exponential_prior: Checks for validity of values for use as exponential...

View source: R/check_exponential_prior.R

check_exponential_priorR Documentation

Checks for validity of values for use as exponential distribution parameters.

Description

Should a single non-negative numeric value. Stops execution with an error.

Usage

check_exponential_prior(values, parameter)

Arguments

values

Parameter for exponential distribution.

parameter

Name of the parameter for which the prior is defined.

Value

Logical TRUE, if none of the tests fail

Examples

check_exponential_prior(1, "sigma")

TriDimRegression documentation built on Sept. 13, 2023, 5:07 p.m.