getVarFormula function

Extract data from a data frame using a formula interface