Standardize boolean inputs
standardize_boole.RdConverts various string representations of true/false (e.g. "YES", "X", "1")
into a logical vector. NA values are treated as FALSE.
Examples
standardize_boole(c("YES", "NO", NA, "X"))
#> [1] TRUE FALSE FALSE TRUE