powered by
Internal-use function for quality checking sets of parameters
check.many(paramlist = NULL, type = c("oneof"))
If the check passes, returns nothing. If the check does not pass, throw an error.
The list of parameters being checked.
The expected type of parameter: currently only supports "oneof".
N <- 10 power <- NULL check.many(list(N, power), "oneof")
Run the code above in your browser using DataLab