get_colno_pattern_colname: Function to return the column number if a given pattern is...

View source: R/IPDFilecheck.R

get_colno_pattern_colnameR Documentation

Function to return the column number if a given pattern is contained in the column names of a data

Description

Function to return the column number if a given pattern is contained in the column names of a data

Usage

get_colno_pattern_colname(pattern, column_names)

Arguments

pattern

a string that needs to be checked

column_names

column names actually have

Value

column number, if success error, if failure

Examples

get_colno_pattern_colname("age", "female_age")

sheejamk/IPDFileCheck documentation built on March 10, 2024, 3:14 p.m.