From | "Nick Cox" <[email protected]> |
To | <[email protected]> |
Subject | st: RE: RE: ? loop [correction] |
Date | Wed, 15 Oct 2003 15:35:26 +0100 |
Correction below. Nick [email protected] > If you want to keep track of which are used, > > gen therapies = "" > foreach v of var cya aza pred2 okt_p mmf tli { > replace therapies = therapies + "`v'" if `v' == 2 > } > > tab therapies An extra space would help, i.e. "`v' " * * For searches and help try: * http://www.stata.com/support/faqs/res/findit.html * 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 |