rmv.vars function

subsets data.frame according to header names