checkPrechange: Check the prechange mean, sigma and variance are appropriately defined

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.


Questions? Problems? Suggestions? or email at ian@mutexlabs.com.

All documentation is copyright its authors; we didn't write any of that.