powered by
"cause"
Gets or sets the "cause" (of failure) attribute of a variable.
cause(x)cause(x) <- value
cause(x) <- value
Any variable.
Passed to gettextf and stored in the "cause" attribute.
gettextf
The get method returns the "cause" attribute.
set_cause
# NOT RUN { # Scalar case yn <- is_identical_to_true(FALSE) cause(yn) # Vector case yn <- is_true(c(TRUE, FALSE, NA)) cause(yn) # }
Run the code above in your browser using DataLab