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]

Re: st: destring_loop


From   Nick Cox <[email protected]>
To   [email protected]
Subject   Re: st: destring_loop
Date   Sat, 18 Aug 2012 17:34:26 +0100

You could type in Stata

. help ds

to see that the saving of r(varlist) is documented. You could type

. help saved results

to learn more. To do this on-line,

http://www.stata.com/help.cgi?search

http://www.stata.com/help.cgi?saved_results

Nick

On Sat, Aug 18, 2012 at 11:34 AM, Mahbubeh Parsaeian
<[email protected]> wrote:
> I really appreciate it.
> As I understood the first command list variables not specified in the command  (var2-var10) and using the second command  Stata just destring the specified varlist. I am not familiar with how `r(varlist)' work or mean? Is it possible to help me to understand  it? or with which keyword I can use Stata help to understand it.
>
> Bunches of thanks,
> Mahboubeh
>
>
>
> One option is to use -ds- with the "not" option:
>
> ds var1, not
> destring `r(varlist)', replace

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