Get or set the "cause" attribute
Gets 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)
Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.