table2data: Create data.frame from a table

table2dataR Documentation

Create data.frame from a table

Description

Create data.frame from a table

Usage

table2data(dataset, freq = tail(colnames(dataset), 1))

Arguments

dataset

Data.frame

freq

Column name with frequency information

Examples

data.frame(price = c("$200", "$300"), sale = c(10, 2)) %>% table2data()


radiant.data documentation built on Oct. 16, 2023, 9:07 a.m.