Skip to contents

Set a scalar false goalie check with cause attribute

Usage

falseFromVector(object, ...)

# S4 method for goalie
falseFromVector(object)

Arguments

object

Object.

...

Additional arguments.

Value

goalie.

Note

Updated 2023-10-02.

Examples

x <- goalie(
    object = c(FALSE, TRUE, FALSE),
    cause = c("xxx", NA, "yyy")
)
print(x)
#> [1] FALSE  TRUE FALSE
print(cause(x))
#> [1] "xxx" NA    "yyy"
xx <- falseFromVector(x)
print(xx)
#> [1] FALSE
print(cause(xx))
#> [1] "[[1]]: xxx\n[[3]]: yyy"