powered by
Extracts names of x where x is TRUE
x
TRUE
nl2c(x)
a vector of the same size
vector
x <- c(a = TRUE, b = FALSE, c = FALSE, d = TRUE) evabic:::nl2c(x)
Run the code above in your browser using DataLab