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