Bookmark and Share

Notice: On March 31, it was announced that Statalist is moving from an email list to a forum. The old list will shut down at the end of May, and its replacement, statalist.org is already up and running.


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

st: Esttab Lines in a RTF File


From   "Rita Frühwald" <metoka2@gmx.de>
To   statalist@hsphsun2.harvard.edu
Subject   st: Esttab Lines in a RTF File
Date   Mon, 10 Dec 2012 08:01:15 +0100

Dear All,

I am using esttab to export tables in a RTF-file. How can I add horizontal lines below or above certain rows?

I found the following example in -help estpost:

sysuse auto, clear
estpost tabulate rep78 foreign
esttab ., cell(colpct(fmt(2)) count(fmt(g) par keep(Total))) ///
      collabels(none) unstack noobs nonumber nomtitle        ///
      eqlabels(, lhs("Repair Rec."))                         ///
      varlabels(, blist(Total "{hline @width}{break}"))

The above code works as long as I am not adding "using mytable.rtf" in order to export the table to a RTF-File.
(esttab using mytable.rtf, <Above Code>)

What do I have to change so that it works?

Thank you for your help!


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


© Copyright 1996–2014 StataCorp LP   |   Terms of use   |   Privacy   |   Contact us   |   Site index