Skip to contents

Allow the convertion of logical related data to actual Boolean

Usage

to_logical(x)

Arguments

x

a vector of boolean compatible values.

Value

a vector of boolean

Examples

to_logical(c("yes", "no"))
#> [1]  TRUE FALSE