nl2c: Named logical to character

View source: R/helpers.R

nl2cR Documentation

Named logical to character

Description

Extracts names of x where x is TRUE

Usage

nl2c(x)

Arguments

x

vector

Value

a vector of the same size

Examples

x <- c(a = TRUE, b = FALSE, c = FALSE, d = TRUE)
evabic:::nl2c(x)


evabic documentation built on Aug. 17, 2022, 9:06 a.m.