Filter columns of a data.frame

filter_columns(df, colname_list = c("Country_current", "Years"))

Arguments

df

a data.frame

colname_list

character, the names of the column(s) to filter

Value

a data.frame with the column(s) present in colname_list