Learn R Programming

powertools (version 1.0.0)

check.many: Internal-use function for quality checking sets of parameters

Description

Internal-use function for quality checking sets of parameters

Usage

check.many(paramlist = NULL, type = c("oneof"))

Value

If the check passes, returns nothing. If the check does not pass, throw an error.

Arguments

paramlist

The list of parameters being checked.

type

The expected type of parameter: currently only supports "oneof".

Examples

Run this code
N <- 10
power <- NULL
check.many(list(N, power), "oneof")

Run the code above in your browser using DataLab