Skip to contents

This function is used to list columns that contains the provided specific value.

Usage

get_cols_value(.data, value, col_name = NULL)

Arguments

.data

Data.frame

value

Specific value

col_name

Character vector of columns, Default: NULL to check for all available columns.

Value

A character vector of column names that contains the provided specific value. Otherwise return NA.

Examples

if (FALSE) { # \dontrun{
get_cols_value(data = ADNIMERGE2::CDR, value = "Telephone Call")
} # }