get.label.name | R Documentation |
Retrieves the Stata label set in the dataset for all or an vector of variable names.
get.label.name(dat, var.name = NULL, lang = NA)
dat |
data.frame. Data.frame created by |
var.name |
character vector. Variable names. If |
lang |
character. Label language. Default language defined by
|
Stata stores factor labels in variable independent labels sets. This function retrieves the name of the label set for a variable.
Returns an named vector of variable labels
Jan Marvin Garbuszus jan.garbuszus@ruhr-uni-bochum.de
Sebastian Jeworutzki sebastian.jeworutzki@ruhr-uni-bochum.de
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.