Learn R Programming

shipunov (version 1.17.1)

Table2df: Convert table to data frame saving structure

Description

Convert table to data frame saving structure

Usage

Table2df(table)

Value

Data frame

Arguments

table

'table' object

Author

Alexey Shipunov

Details

Convert contingency table into data frame and keep structure.

Examples

Run this code
Table2df(table(iris[, 5]))

Run the code above in your browser using DataLab