checkDelta: Check delta parameter

Description Usage Arguments Details Value

View source: R/utilities-data-validation.R

Description

This method is to send the user a warning message if they entered a delta value that will not be used.

Usage

1

Arguments

mechanism

The mechanism chosen by determineMechanism

delta

The delta value entered by the user, may be NULL

Details

If the mechanism is NOT a mechanism that uses a delta value and the user entered a delta value, send a warning message saying the delta value with not be used and set the delta value to 0. If a mechanism that uses a delta value is being used and the user entered a delta value, set it as the delta value (the value of delta will be checked in the mechanism). If a mechanism that uses a delta value is being used and the user did not enter a delta value, set the delta to the default value (2^-30).

Value

The value that will be used as the delta value for the statistic


IQSS/PSI-Library documentation built on Feb. 15, 2020, 9:03 p.m.