Check the prechange mean, sigma and variance are appropriately defined

Share:

Description

If usePrechange was set to TRUE, then prechangeMean must not be NULL, and at least one of prechangeSigma and prechangeVar must not be NULL.

Usage

1
checkPrechange(prechangeMean, prechangeSigma, prechangeVar, functionName = "")

Arguments

prechangeMean

The prechange mean. Should not be NULL.

prechangeSigma

The prechange standard deviation. Either it or prechangeVar must not be NULL.

prechangeVar

The prechange variance. Either it or prechangeSigma must not be NULL.

functionName

The name of the original function which is being called to check the parameters. Will help user with debugging. Default is "", in which case no function name will be displayed.

Want to suggest features or report bugs for rdrr.io? Use the GitHub issue tracker.