Learn R Programming

rtables (version 0.6.1)

df_to_tt: Create ElementaryTable from data.frame

Description

Create ElementaryTable from data.frame

Usage

df_to_tt(df)

Value

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

Arguments

df

data.frame.

Examples

Run this code
df_to_tt(mtcars)

Run the code above in your browser using DataLab