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

st: rownumb of a number

From   "Javier Lázaro" <>
Subject   st: rownumb of a number
Date   Mon, 6 Oct 2008 01:30:09 +0200

Dear Statalist users,

I am a beginner programmer of Stata, I would like to know if there are
any function like "rownumb", which return the row number associated
with the name specified by an equation name, but, instead of an
equation name, I would like to insert one of the elements of the
For example :

>matrix C = (43 \ 32 \ 36)
>local aux = rownumber(C,32)
>display `aux'

Are there any function or way to do this?
Could you help me?

Thank you,
*   For searches and help try:

© Copyright 1996–2023 StataCorp LLC   |   Terms of use   |   Privacy   |   Contact us   |   What's new   |   Site index