Statalist The Stata Listserver

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

st: table of strings

From   Caleb Southworth <>
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.

University of Oregon Sociology
*   For searches and help try:

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