checkData {goCluster} | R Documentation |
This function exits with a warning or an error in case a given variable does contain data.
checkData(variable, action, call, warn = FALSE)
variable |
The variable that should be checked. |
action |
Part of the error string. |
call |
Part of the error string. |
warn |
If true, the function will not yield an error but a warning. |
TRUE or FALSE in addition to a warning or an error.
Gunnar Wrobel, work@gunnarwrobel.de, http://www.gunnarwrobel.de.
a <- c(1,2,3) checkData(a, "set", "example", TRUE)