get_col_multiple_pattern: Function to get cols for the pattern given

Description Usage Arguments Value Examples

View source: R/help_cost_analysis_functions.R

Description

Function to get cols for the pattern given

Usage

1

Arguments

pattern

the pattern to look for

the_data

data where to look at

Value

zero or -1

Examples

1
2
3
the_data <- as.data.frame(cbind(c("one", "two"), c("a", "b"), c("aa", "bb")))
colnames(the_data) <- c("name", "brand_one", "two")
get_col_multiple_pattern(c("brand", "trade"), the_data)

packDAMipd documentation built on March 3, 2021, 5:07 p.m.