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]
st: inlist( variable, .a, .b, .c)
From
Stas Kolenikov <[email protected]>
To
[email protected]
Subject
st: inlist( variable, .a, .b, .c)
Date
Tue, 10 Apr 2012 13:11:10 -0500
I am trying to manipulate some extended missing values, and found that
a very handy -inlist()- function does not work with them. The
documentation states that the arguments of -inlist- must be either all
strings or all reals. Apparently, the latter category excludes the
system missing values. Of course I can write all of this with
(variable == .a | variable == .b | variable == .c), but the whole idea
of -inlist()- is to avoid these cumbersome statements. That was the
grumble, and the wish is to have -inlist()- support the system missing
values.
--
Stas Kolenikov, also found at http://stas.kolenikov.name
Small print: I use this email account for mailing lists only.
*
* 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/