cause {assertive.base} | R Documentation |
"cause"
attributeGets or sets the "cause"
(of failure) attribute of a variable.
cause(x) cause(x) <- value
x |
Any variable. |
value |
Passed to |
The get method returns the "cause"
attribute.
# Scalar case yn <- is_identical_to_true(FALSE) cause(yn) # Vector case yn <- is_true(c(TRUE, FALSE, NA)) cause(yn)