namesx {easyr}R Documentation

Names Like

Description

Get column names that match a pattern. Author: Scott Sobel. Tech review: Bryce Chamberlain.

Usage

namesx(df, char, fixed = TRUE, ignore.case = TRUE)

Arguments

df

Object with names you'd like to search.

char

Regex chracter to match to columns.

fixed

Match as a string, not a regular expression.

ignore.case

Ignore case in matches.

Value

Vector of matched names.

Examples

namesx( iris,'len' )
namesx( iris,'Len' )

[Package easyr version 0.5-8 Index]