rmv.vars: subsets data.frame according to header names
Description
subsets data
according to header names. Excludes all matches to var.name
Usage
rmv.vars(data, var.name, ignore.missing=TRUE, ignore.offset=FALSE)
Value
An object of class data.frame
Arguments
- data
Object of class data.frame
- var.name
A character vector of names to remove from data
- ignore.missing
Boolean, should an error be thrown if no matching data found
- ignore.offset
Should the numerical offset be ignored in the match, (e.g. all wtr
columns removed, or wtr_0
specifically)