CreateArgCheck {ADImpute} | R Documentation |
CreateArgCheck
creates tests for argument correctness.
CreateArgCheck(missing = NULL, match = NULL, acceptable = NULL, null = NULL)
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. |
argument check object.