pt_grps: Add row or column groups

View source: R/pivot_tables.R

pt_grpsR Documentation

Add row or column groups

Description

Function to add row or column groups to budget pivot table

Usage

pt_grps(pt, cols, colgrp = T)

Arguments

pt

Pivot table created by pivottabler::PivotTable$new()

cols

Columns to add as group to row or column in pivot table; string vector

colgrp

Whether to add columns as groups in columns of pivot table, or as rows of pivot table; default T, for columns

Value

Pivot table with columns added in as rows or columns


dpowerstp/tpbudget documentation built on June 3, 2022, 1:41 a.m.