Statalist


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

st: showing row labels in -table-


From   Michael McCulloch <[email protected]>
To   Statalist <[email protected]>
Subject   st: showing row labels in -table-
Date   Sun, 31 Aug 2008 12:28:35 -0700

I'm using -table- to create summary tables. Is it possible to show the row headers for cell contents?

For example, in this table I can't display pricelevel row labels for the cell contents rows:

clear
sysuse auto
tab price
gen pricelevel=1
replace pricelevel=2 if price>6000
table foreign pricelevel, contents(mean mpg mean headroom) col format(%9.2g) cen

Michael

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