findlocation: Find columns

Description Usage Arguments Value

View source: R/matchfunctions.R

Description

Finds, within a data frame's columns, the first match for a series of regexp. Also send messages to the user to let them know what we matched on. Used within prepformatch().

Usage

1
findlocation(df, matchtext)

Arguments

df

a data frame that you want to find the location on

matchtext

a regular expression to be matched against columns names

Value

returns a single integer value, the index of the first column that matches matchtext


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