IPDFileCheck (version 0.5.0)

checkColumnNoForPatternInColumnname: 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

checkColumnNoForPatternInColumnname(pattern, column.names)

Arguments

pattern

a string that needs to be checked

column.names

column names actually have

Value

TRUE , if success FALSE, if failure

Examples

Run this code
# NOT RUN {
checkColumnNoForPatternInColumnname("age","female_age")
# }

Run the code above in your browser using DataCamp Workspace