variable_table: Create variable table

Description Usage Arguments Author(s) Examples

Description

Create a table in the form of a data.frame, which contains information about variable name, variable description (as defined using the label function from the Hmisc package), and class of variable. This could then of course be used together with the latex function (in Hmisc) or kable (in knitr) to put the table into reports etc.

Usage

1

Arguments

df

a data.frame

Author(s)

Daniel Lindholm

Examples

1
2
3
library(Hmisc)
getHdata(plasma)
variable_table(plasma)

dlindholm/doctoR documentation built on May 15, 2019, 9:18 a.m.