From: "Nick Cox" <[email protected]>
Reply-To: [email protected]
To: <[email protected]>
Subject: RE: st: how to merge two variables into one
Date: Sun, 27 Nov 2005 16:43:57 -0000
When you say merge, I guess you mean
concatenate.
Assumed that you have applied -trim()-,
right-alignment is a matter of format,
not of what the values are, nor of how
they are held informally.
You should read up the help on formats.
Nick
[email protected]
b. water
> i have two variables: studynames and yearofstudy e.g. Alshop
> 1981, Bell 1992.
>
> what i want to do is to merge the two variables such that:
> Alshop 1981
> Bell 1992
> i.e. somehow it is right-aligned in each cell.
>
> would be grateful for help in achieving this.
>
> platform: stata 8.2, os wxp pro sp2.
*
* 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/
_________________________________________________________________