checkPrechange: Check the prechange mean, sigma and variance are...

View source: R/errorMessage.R

checkPrechangeR Documentation

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

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.


ffstream documentation built on May 31, 2023, 7:53 p.m.