View source: R/tab_functions.R
tab_vallabs | R Documentation |
Create a value label dataframe
tab_vallabs(df)
df |
Labelled dataframe, e.g., resulting of the read_sav / read_dta functions of the package haven. |
Dataframe consisting of three columns var
, val
and
vallab
, showing all value labels in df
.
# load spss data path <- system.file("examples", "iris.sav", package = "haven") df <- haven::read_sav(path) tab_vallabs(df)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.