General Approach to Creating Pivot Tables (R)
The BasePivotTable class provides the means for creating pivot tables that
cannot be created with the spsspivottable. Display function. The basic steps for creating a pivot table are:
- Create an instance of the
BasePivotTableclass. - Add dimensions.
- Define categories.
- Set cell values.
Once a cell value has been set, you can access its value. This is convenient for cell values that depend on the value of another cell. See Using Cell Values in Expressions for more information.