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 on April 23, and its replacement, statalist.org is already up and running.


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

st: New version of -listtab- on SSC


From   "Roger B. Newson" <r.newson@imperial.ac.uk>
To   "statalist@hsphsun2.harvard.edu" <statalist@hsphsun2.harvard.edu>
Subject   st: New version of -listtab- on SSC
Date   Tue, 06 Nov 2012 12:12:15 +0000

Thanks once again to Kit Baum, a new version of the -listtab- package is now available for download from SSC. In Stata, use the -ssc- command to do this, or -adoupdate- if you already have an old version of -listtab-.

The -listtab- package is described as below on my website, and also in Newson (2012), and is the successor to -listtex-. The new version adds 2 new options -headchars()- and -footchars()-, containing lists of names of variable characteristics, which are used to produce column labels in table headers and footers. Variable characteristics are now the recommended place to store column labels in Stata datasets destined to be converted into tables. The new options were introduced to save a lot of tedious calls to -listtab_vars- to produce multiple table header rows in complicated tables.

Best wishes

Roger

References

Newson, R. B.  2012.  From resultssets to resultstables in Stata.  The
Stata Journal 12 (2): 191-213.  Download from The Stata Journal website at
http://www.stata-journal.com/article.html?article=st0254

---------------------------------------------------------------------------------
package listtab from http://www.imperial.ac.uk/nhli/r.newson/stata11
---------------------------------------------------------------------------------

TITLE
listtab: List variables as rows of a TeX, HTML or word processor table

DESCRIPTION/AUTHOR(S)
listtab outputs a list of variables to the Stata log or to a file as TeX, HTML or word processor table rows, which can then be inserted into a TeX, HTML or word processor table by cutting and pasting and/or file linking and/or embedding (eg using the TeX \input command). listtab produces the table rows, but may also produce a set of header lines before the table rows and/or footer lines after the table rows, containing preambles and/or table definitions and/or table headers and/or table footers, as specified
      by the user.

      Author: Roger Newson
      Distribution-Date: 04november2012
      Stata-Version: 11

INSTALLATION FILES                                  (click here to install)
      listtab.ado
      listtab_vars.ado
      listtab_rstyle.ado
      listtab.sthlp
      listtab_vars.sthlp
      listtab_rstyle.sthlp
---------------------------------------------------------------------------------
(click here to return to the previous screen)

--
Roger B Newson BSc MSc DPhil
Lecturer in Medical Statistics
Respiratory Epidemiology and Public Health Group
National Heart and Lung Institute
Imperial College London
Royal Brompton Campus
Room 33, Emmanuel Kaye Building
1B Manresa Road
London SW3 6LR
UNITED KINGDOM
Tel: +44 (0)20 7352 8121 ext 3381
Fax: +44 (0)20 7351 8322
Email: r.newson@imperial.ac.uk
Web page: http://www.imperial.ac.uk/nhli/r.newson/
Departmental Web page:
http://www1.imperial.ac.uk/medicine/about/divisions/nhli/respiration/popgenetics/reph/

Opinions expressed are those of the author, not of the institution.
*
*   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