checkDoubleArgumentsDesignObject {safestats}R Documentation

Helper function to check whether arguments are specified in a function at a higher level and already provided in the design object.

Description

Helper function to check whether arguments are specified in a function at a higher level and already provided in the design object.

Usage

checkDoubleArgumentsDesignObject(designObj, ...)

Arguments

designObj

an object of class "safeDesign".

...

arguments that need checking.

Value

Returns nothing only used for its side-effects to produces warnings if needed.

Examples

designObj <- designSafeZ(0.4)

checkDoubleArgumentsDesignObject(designObj, "alpha"=NULL, alternative=NULL)
# Throws a warning
checkDoubleArgumentsDesignObject(designObj, "alpha"=0.4, alternative="d")

[Package safestats version 0.8.7 Index]