Statalist


[Date Prev][Date Next][Thread Prev][Thread Next][Date index][Thread index]

Re: st: Label range


From   "Friedrich Huebler" <[email protected]>
To   [email protected]
Subject   Re: st: Label range
Date   Sat, 3 May 2008 10:33:46 -0400

Thank you for the replies to my question. I wanted to know how I can
access the range of values covered by a value label. Some list members
thought I had asked about the range of values in a variable; sorry for
the confusion.

-labelsof- from SSC does what I need.

. sysuse auto
. labelsof foreign
. di r(values)
0 1

Friedrich
*
*   For searches and help try:
*   http://www.stata.com/support/faqs/res/findit.html
*   http://www.stata.com/support/statalist/faq
*   http://www.ats.ucla.edu/stat/stata/



© Copyright 1996–2024 StataCorp LLC   |   Terms of use   |   Privacy   |   Contact us   |   What's new   |   Site index