Stata The Stata listserver
[Date Prev][Date Next][Thread Prev][Thread Next][Date index][Thread index]

RE: st: how to merge two variables into one

From   "Nick Cox" <>
To   <>
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 

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. 


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:

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