Retrieve the value labels for a specific Stata label set.
Usage
get.label(dat, label.name)
Arguments
dat
data.frame. Data.frame created by read.dta13.
label.name
character. Name of the Stata label set
Value
Returns a named vector of code numbers
Details
This function returns the table of factor levels which represent a Stata label set.
The name of a label set for a variable can be obtained by get.label.name.