table2data {radiant.data} | R Documentation |
Create data.frame from a table
table2data(dataset, freq = tail(colnames(dataset), 1))
dataset |
Data.frame |
freq |
Column name with frequency information |
data.frame(price = c("$200", "$300"), sale = c(10, 2)) %>% table2data()