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

st: about deleting variables


From   Hailing Zang <[email protected]>
To   [email protected]
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–2024 StataCorp LLC   |   Terms of use   |   Privacy   |   Contact us   |   What's new   |   Site index