Statalist


[Date Prev][Date Next][Thread Prev][Thread Next][Date index][Thread index]

Re: st: Re: Re: keep


From   Erik Bihagen <[email protected]>
To   [email protected]
Subject   Re: st: Re: Re: keep
Date   Mon, 10 Sep 2007 14:39:12 +0200

Thanks for your help,

Erik

Michael Blasnik wrote:
..

woops, third line should be:

local keepvars: list allvars & include


unab allvars: _all
local include "v1 v2 v3"
local keepvars: list vars & include
keep `keepvars'
*
*   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/


*
*   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