Learn R Programming

rtables (version 0.4.0)

df_to_tt: Create ElementaryTable from data.frame

Description

Create ElementaryTable from data.frame

Usage

df_to_tt(df)

Arguments

df

data.frame.

Value

an ElementaryTable object with unnested columns corresponding to names(df) and row labels corresponding to row.names(df)

Examples

Run this code
# NOT RUN {
df_to_tt(mtcars)
# }

Run the code above in your browser using DataLab