calcAvgValue.Rd
Calculate average value by group
calcAvgValue(df, var, startYear, endYear, groupVars = NULL)
A data frame
An integer
A vector