Bookmark and Share

Notice: On April 23, 2014, Statalist moved from an email list to a forum, based at statalist.org.


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

st: New version of -creplace- on SSC


From   Roger Newson <[email protected]>
To   "[email protected]" <[email protected]>
Subject   st: New version of -creplace- on SSC
Date   Tue, 21 Dec 2010 16:56:09 +0000

Thanks as always to Kit Baum, a new version of the -creplace- package is now downloadable from SSC. In Stata, use the -ssc- command to do this, or -adoupdate- if you already have an old version of -creplace-.

The -creplace- package is described as below on my website. The new version contains a -version 11- statement, which was previously missing (my fault). Users of Stata Version 10 can still download the Stata Version 10 version of -creplace- by typing, in Stata,

net from "http://www.imperial.ac.uk/nhli/r.newson/stata10/";

and selecting and installing -creplace-.

Best wishes

Roger


--
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: [email protected]
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.

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

TITLE
      creplace: Exchange values cyclically between variables

DESCRIPTION/AUTHOR(S)
      creplace is an extended version of replace, which exchanges values
      cyclically between variables in a list of two or more variables.  By
      default, the values in each variable are replaced by values from the
      next variable in the list, or by values from the first variable, in
      the case of the last variable.  Optionally, the values in each
      variable are replaced by values from the previous variable in the
      list, or by values from the last variable, in the case of the first
      variable.  If there are only two variables in the list, then their
      values will simply be exchanged.  Variables in the list must be all
      numeric or all string.  After exchanging the values, creplace will
compress these variables to the smallest storage type possible without
      loss of information.

      Author: Roger Newson
      Distribution-Date: 09december2010
      Stata-Version: 11

INSTALLATION FILES                                  (click here to install)
      creplace.ado
      creplace.sthlp
----------------------------------------------------------------------------
(click here to return to the previous screen)
*
*   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–2018 StataCorp LLC   |   Terms of use   |   Privacy   |   Contact us   |   Site index