HJW
>
> The official Stata command -mkmat var1, mat(mymat)- puts values of a
> numeric variable into a matrix called mymat. I am wondering
> whether there is a similar command that would put contents of a
> *string* variable into a matrix.
>
> I thought the query has been raised before, but I couldn't recover
> the information either by searching the Statalist archive or using
> -findit string variable to matrix-.
No. Stata's matrices contain numbers only.
You can use -tabdisp- to show string variables
for particular row and column combinations.
Nick
[email protected]
*
* For searches and help try:
* http://www.stata.com/support/faqs/res/findit.html
* http://www.stata.com/support/statalist/faq
* http://www.ats.ucla.edu/stat/stata/