Learn R Programming

ProduceR (version 1.0)

get_tac_column: Contingency table for column `col_name` in data.frame `df

Description

Contingency table for column `col_name` in data.frame `df

Usage

get_tac_column(df, col_name, values, strates)

Arguments

df

Input data.frame

col_name

string : name of column to which generate the contingency table

values

Vector of columns that serve as measures (amounts, counts, etc.)

strates

Vector of column names by which to stratify the contingency tables