Skip to contents

Cause attribute

Usage

cause(object, ...)

# S4 method for goalie
cause(object)

Arguments

object

Object.

...

Additional arguments.

Value

character.

Note

Updated 2023-10-02.

Examples

x <- goalie(
    object = c(FALSE, TRUE),
    cause = c("xxx", NA_character_)
)
print(x)
#> [1] FALSE  TRUE
x <- cause(x)
print(x)
#> [1] "xxx" NA