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.


anacarolinaleote/ADImpute documentation built on May 18, 2021, 10:11 p.m.