proc_tab: Tangram transform for proc_tab style summaries via a function

View source: R/transform-proc-tab.R

proc_tabR Documentation

Tangram transform for proc_tab style summaries via a function

Description

Given a function that produces a vector of tangram cells, will generate a table

Usage

proc_tab(table, row, column, fun = NULL, overall = FALSE, ...)

Arguments

table

The table builder object

row

The row from the abstract syntax tree that parsed the formula

column

The column from the abstract syntax tree that parsed the formula

fun

The function to apply to the broken out categories

overall

Provide a summary of categorical breakdowns

...

additional arguments to pass to fun


spgarbet/tangram documentation built on Feb. 12, 2023, 7:13 p.m.