Bookmark and Share

Notice: On April 23, 2014, Statalist moved from an email list to a forum, based at statalist.org.


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

st: RE: variable label


From   Nick Cox <[email protected]>
To   "'[email protected]'" <[email protected]>
Subject   st: RE: variable label
Date   Mon, 5 Dec 2011 13:20:41 +0000

. sysuse auto
(1978 Automobile Data)

. local mpglabel : var label mpg

. di "`mpglabel'"
Mileage (mpg)

Explanation: 

. help extended fcn

Nick 
[email protected] 

Richard Fox

I have my own piece of code that generates summary stats in a Latex friendly format. What I want to know is, is there some system variables / table that hold the labels for variables - not the labels for levels of a variable but the variable label ( as in label var "ID")


*
*   For searches and help try:
*   http://www.stata.com/help.cgi?search
*   http://www.stata.com/support/statalist/faq
*   http://www.ats.ucla.edu/stat/stata/


© Copyright 1996–2018 StataCorp LLC   |   Terms of use   |   Privacy   |   Contact us   |   Site index