Statalist


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

st: showing Headers in _list_ command whenever ID changes


From   Michael McCulloch <mm@pinest.org>
To   Statalist <statalist@hsphsun2.harvard.edu>
Subject   st: showing Headers in _list_ command whenever ID changes
Date   Fri, 23 May 2008 18:03:29 -0700

Hello,
I would like to have _list_ show the header whenever a variable, in 
this case ID, changes.
For example:

use hip2.dta
list id time0 time1 fracture, sepby(id)

I'd like to view the list separated by ID, but with a header showing 
variable names. Is what I want possible?

Thank you!

-- 

Best wishes,
Michael McCulloch



Pine Street Foundation
124 Pine St., San Anselmo, CA 94960-2674
Tel:	(415) 407-1357
Fax:	(415) 485-1065
mcculloch@pinestreetfoundation.org
www.pinestreetfoundation.org

*
*   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–2014 StataCorp LP   |   Terms of use   |   Privacy   |   Contact us   |   What's new   |   Site index