R/helpers.R
nl2c.Rd
Extracts names of x where x is TRUE
x
TRUE
nl2c(x)
vector
a vector of the same size
x <- c(a = TRUE, b = FALSE, c = FALSE, d = TRUE) evabic:::nl2c(x) #> [1] "a" "d"