powered by
Create data.frame from a table
table2data(dataset, freq = tail(colnames(dataset), 1))
Data.frame
Column name with frequency information
# NOT RUN { data.frame(price = c("$200","$300"), sale = c(10, 2)) %>% table2data() # }
Run the code above in your browser using DataLab