Check If an Object Is a Valid Effectclass Object
is_effectclass(x, message = c("none", "warning", "error"))
The object to test.
What to do when the object is not a valid effectclass object.
"none"
: return FALSE
with a message.
"warning"
: return FALSE
with a warning()
.
"error"
: return an error.
A single TRUE
or FALSE
value.
Other utils:
change_breaks()
,
change_labels()
,
unlist()