Statalist


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

st: AW: how to create a vector from the column names of a matrix


From   "Martin Weiss" <[email protected]>
To   <[email protected]>
Subject   st: AW: how to create a vector from the column names of a matrix
Date   Tue, 2 Jun 2009 08:51:56 +0200

<> 

Try

*************
help matmacfunc
*************



HTH
Martin

-----Ursprüngliche Nachricht-----
Von: [email protected]
[mailto:[email protected]] Im Auftrag von Nathan Danneman
Gesendet: Dienstag, 2. Juni 2009 06:14
An: [email protected]
Betreff: st: how to create a vector from the column names of a matrix

Hi,

As a portion of a larger program, I would like to create a vector
containing the names of each column of a matrix, using each column's
number.  This is essentially the opposite of the rownumb command,
which takes the row's name, and returns its row number.

Thanks,
Nathan

-- 
"Imagination is more important than knowledge..."
      -- Albert Einstein
*
*   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/


*
*   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–2024 StataCorp LLC   |   Terms of use   |   Privacy   |   Contact us   |   What's new   |   Site index