Stata The Stata listserver
[Date Prev][Date Next][Thread Prev][Thread Next][Date index][Thread index]

st: New package -ingap- on SSC

From   Roger Newson <>
Subject   st: New package -ingap- on SSC
Date   Tue, 10 Jun 2003 19:54:43 +0100

Fellow Statalisters

Thanks to Kit Baum, there is now a new package -ingap- available for download on SSC. Type -ssc desc ingap- to find out more (or see below).

The -ingap- package does everything that was done by my existing -bygap- package (also downloadable from SSC), and more. It therefore supersedes -bygap-.

Best wishes


ingap: Insert gap observations into a data set before output by listtex

ingap inserts gap and/or heading observations into a data set before the
data set is output by the listtex package (downloadable from SSC), which
outputs variables to table rows which the user can insert into a TeX, LaTeX,
HTML or Microsoft Word table. ingap inserts observation next to (before or
after) each of a list of observations specified by the user. The user
specifies a list of integers, and ingap inserts gap observations next to
the observations in the corresponding positions in the data set, or in the
corresponding positions in each by-group if by-variables are specified.
ingap assumes that the data set in memory has up to 3 classes of variables.
These are the by-variables which define by-groups representing the pages of
the table, a row label variable containing the row labels in the left margin
of the table, and the remaining variables, which may form the entries in the
table rows. A gap observation inserted by ingap has the same values for the
by-variables as the observation next to which it was inserted, a row label
value specified by the user, and missing values (or possibly column headings)
in the remaining variables. ingap may also create an additional binary
variable, identifying which observations are gap observations. The user may
output the data set using listtex, or may alternatively create a plot for
immediate impact, using Stata graphics together with the sencode package
(also downloadable from SSC),

Author: Roger Newson
Distribution-Date: 10June2003
Stata-Version: 7

INSTALLATION FILES (click here to install)

Roger Newson
Lecturer in Medical Statistics
Department of Public Health Sciences
King's College London
5th Floor, Capital House
42 Weston Street
London SE1 3QD
United Kingdom

Tel: 020 7848 6648 International +44 20 7848 6648
Fax: 020 7848 6620 International +44 20 7848 6620
or 020 7848 6605 International +44 20 7848 6605

Opinions expressed are those of the author, not the institution.

* For searches and help try:

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