setCause | R Documentation |
FALSE
vector with causes of failureSets the cause
attribute of an object and returns that
object.
setCause(object, ...)
## S4 method for signature 'goalie'
setCause(object, ...)
## S4 method for signature 'logical'
setCause(object, false)
object |
Object. |
... |
Additional arguments. |
false |
|
goalie
.
Updated 2023-10-02.
cause()
.
assertive.base::set_cause()
.
stats::setNames()
.
x <- setCause(
object = c(TRUE, TRUE, FALSE, FALSE),
false = "false"
)
print(x)
print(cause(x))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.