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

st: about deleting variables


From   Hailing Zang <hlzang@yahoo.com>
To   statalist@hsphsun2.harvard.edu
Subject   st: about deleting variables
Date   Tue, 10 Dec 2002 15:31:17 -0800 (PST)

Hi there,
I have a question about deleting variables that have 
a certain character. I know if I want to drop, then
simply use
.drop if<character>

But if I want to keep the first observation that has
that character, what should I do?

Thanks a lot!
Hailing

__________________________________________________
Do you Yahoo!?
Yahoo! Mail Plus - Powerful. Affordable. Sign up now.
http://mailplus.yahoo.com
*
*   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–2014 StataCorp LP   |   Terms of use   |   Privacy   |   Contact us   |   What's new   |   Site index