Statalist The Stata Listserver


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

st: table of strings


From   Caleb Southworth <[email protected]>
To   [email protected]
Subject   st: table of strings
Date   Tue, 2 May 2006 10:45:33 -0700 (PDT)

What is a good method for making a compact table of strings? For example,
I have a categorical variable id=1,2,3 and a string identifier for each
case. Of course, I could

sort id
by id: list string

but my preference is for a table, such as

1		2		3
string a	string e	string x
string b 	string f	string y
... etc.

This would be useful for list types of cases by id, such as types of
outliers or types of organizations.

Caleb
[email protected]
University of Oregon Sociology
*
*   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/



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