table2dt: Convert a table to a (disaggregated) data frame / table

View source: R/table2df.r

table2dtR Documentation

Convert a table to a (disaggregated) data frame / table

Description

Note that as.data.frame can do this, but you get aggregated rows with a Freq column

Usage

table2dt(Tab)

table2df(Tab)

Arguments

Tab

The table

Functions

  • table2df(): Convert a table to a (disaggregated) data frame

Examples

table2dt(Titanic)
head(table2df(Titanic))

pbreheny/breheny documentation built on Feb. 18, 2025, 5:07 a.m.