|
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Fwd: Re: st: from value to varnames]
data error -- it turns out that some of the strings in "field" contained
hypthens -- since varnames cannot contain hyphens, sxpose would not do
the rename -- but gave me no error message -- sorry for the confusion
Rich
-------- Original Message --------
Subject: Re: st: from value to varnames
Date: Tue, 19 May 2009 08:06:24 -0400
From: Richard Goldstein <[email protected]>
To: [email protected]
not on my machine -- I even downloaded a new copy of sxpose (from ssc)
and did exactly what you suggested (via cut-and-paste) and the new
varnames are _var# (258 of them)
so ...
Phil Schumm wrote:
On May 18, 2009, at 8:19 PM, Richard Goldstein wrote:
nope -- Nick's -sxpose- gives me variables with varnames _var1, etc --
which is of no use; sorry for not mentioning that I had already tried it
That's what the -firstnames- option does. Without it, you'll get
variables named _var1, _var2, etc. With -firstnames-, you'll get
variables named namea, nameb, etc.
-- Phil
*
* 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/