Learn R Programming

IPDFileCheck (version 0.8.1)

check_col_pattern_colname: ############################################################################ Function to check if a given pattern is contained in the column names of a data

Description

############################################################################ Function to check if a given pattern is contained in the column names of a data

Usage

check_col_pattern_colname(pattern, column_names)

Value

TRUE, if success FALSE, if failure

Arguments

pattern

a string that needs to be checked

column_names

column names actually have

Examples

Run this code
check_col_pattern_colname("age", "female_age")

Run the code above in your browser using DataLab