check_normal_prior: Checks for validity of values for use as normal distribution...

Description Usage Arguments Value Examples

View source: R/check_normal_prior.R

Description

Should a pair of numeric values, second value should be non-zero. Stops execution with an error.

Usage

1
check_normal_prior(values, parameter)

Arguments

values

Parameters for normal distribution.

parameter

Name of the parameter for which the prior is defined.

Value

Logical TRUE, if none of the tests fail

Examples

1
check_normal_prior(c(0, 1), "scale")

TriDimRegression documentation built on May 4, 2021, 9:08 a.m.