CreateArgCheck {ADImpute}R Documentation

Argument check

Description

CreateArgCheck creates tests for argument correctness.

Usage

CreateArgCheck(missing = NULL, match = NULL, acceptable = NULL,
null = NULL)

Arguments

missing

named list; logical. Name corresponds to variable name, and corresponding entry to whether it was missing from the function call.

match

named list. Name corresponds to variable name, and corresponding entry to its value.

acceptable

named list. Name corresponds to variable name, and corresponding entry to its acceptable values.

null

named list; logical. Name corresponds to variable name, and corresponding entry to whether it was NULL in the function call.

Value

argument check object.


[Package ADImpute version 1.3.0 Index]