table2data: Create data.frame from a table

Description Usage Arguments Examples

View source: R/transform.R

Description

Create data.frame from a table

Usage

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

Arguments

dataset

Data.frame

freq

Column name with frequency information

Examples

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

radiant-rstats/radiant.data documentation built on Nov. 13, 2018, 6:57 a.m.