Learn R Programming

smvgraph (version 0.1.2)

table2dataframe: table2dataframe

Description

Converts a table to a full data frame.

Usage

table2dataframe(tab, ...)

Arguments

tab

table: contingency table

...

further parameters given to base::as.data.frame.table()

Value

a data frame with sum(tab) rows and length(dim(tab)) cols

Examples

Run this code
# NOT RUN {
table2dataframe(Titanic)
# }

Run the code above in your browser using DataLab