Learn R Programming

bistablehistory (version 1.1.2)

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

Description

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

Usage

check_normal_prior(values, parameter)

Value

Logical TRUE, if none of the tests fail

Arguments

values

Parameters for normal distribution.

parameter

Name of the parameter for which the prior is defined.

Examples

Run this code
check_normal_prior(c(0, 1), "tau")

Run the code above in your browser using DataLab