PivotCalculation function

R6 class that defines a calculation.