CreateArgCheck: Argument check

Description Usage Arguments Value

View source: R/Helper.R

Description

CreateArgCheck creates tests for argument correctness.

Usage

1
2
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.


beyergroup/ADImpute documentation built on Dec. 19, 2021, 8:48 a.m.