grepnames: Search for a string in column names

Description Usage Arguments

View source: R/grepnames.R

Description

Performs a grep regex search on the column names of a data frame, returning the values and their column number.

Usage

1
grepnames(str = ".*", x, ignorecase = T, sortalpha = F)

Arguments

str

a regex string to find. Defaults to ".*"

x

the object to search. Expect a data frame

ignorecase

should the search ignore case. Default = T


crazybilly/muadc documentation built on March 6, 2021, 4:15 p.m.