Extracts names of x where x is TRUE
Examples
x <- c(a = TRUE, b = FALSE, c = FALSE, d = TRUE)
evabic:::nl2c(x)
#> [1] "a" "d"
Extracts names of x where x is TRUE
x <- c(a = TRUE, b = FALSE, c = FALSE, d = TRUE)
evabic:::nl2c(x)
#> [1] "a" "d"