View source: R/validateArguments.R
validateArguments | R Documentation |
This is an internal function used by user-level functions to validate their arguments.
validateArguments(x, types = "default")
x |
named list containing function arguments and their values |
types |
named vector of types for |
Accepted validation types are:
"counts"
"positive"
"probability"
"linear, log or logit"
"MH or IV"
"logit or probit"
"increasing or decreasing"
A vector of possible values
Nothing if all arguments fit their type. An error message otherwise.
Types are evaluated alphabetically, and errors accuse no more than one invalid argument at a time.
Waldir Leoncio
Adjusted_inv_sinh_CI_OR_2x2(ritland_2007)
## Not run: Adjusted_inv_sinh_CI_OR_2x2(-ritland_2007)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.