Bookmark and Share

Notice: On March 31, it was announced that Statalist is moving from an email list to a forum. The old list will shut down at the end of May, and its replacement, statalist.org is already up and running.


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

st: stack cells row wise


From   Maul Eugenio <eugenio.maul@gmail.com>
To   statalist@hsphsun2.harvard.edu
Subject   st: stack cells row wise
Date   Fri, 9 Apr 2010 20:38:28 -0400

Dear Stata Community:
I have several tab separated files containing variable amount of columns and rows. 
The cells have strings with variable empty cells between them. 
The pattern of empty cells varies form row to row and from column to column.
I would like to stack all the non empty cells next to each other rowwise.
Any suggestions to achieve this using stata?

Thanks,
Eugenio Maul



*
*   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/


© Copyright 1996–2014 StataCorp LP   |   Terms of use   |   Privacy   |   Contact us   |   Site index