check_exponential_prior {TriDimRegression} | R 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")
[Package TriDimRegression version 1.0.2 Index]