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: Mata equivalent for R's which() or matlabs find() functions?
From
Sebastian Eppner <[email protected]>
To
[email protected]
Subject
st: Mata equivalent for R's which() or matlabs find() functions?
Date
Tue, 1 Mar 2011 18:03:09 +0100
Hi,
I am desperately looking for a mata function that gives me the column
indices of columns that satisfy certain conditions.
For matlab, find() can solve the job. In R, which() does it.
I look for something like this in mata, but haven't found anything
yet. It seems too basic to not be included...
Thanks for helping out,
Sebastian
*
* 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/