powered by
Convert table to data frame saving structure
Table2df(table)
Data frame
'table' object
Alexey Shipunov
Convert contingency table into data frame and keep structure.
Table2df(table(iris[, 5]))
Run the code above in your browser using DataLab