Skip to content

merge table rows (\multirow)

2 messages · Felipe Carrillo, Gabor Grothendieck

#
Hi:
This is what my table should look like:

Month     Week   Estpassage    MedFL
July-----27--------4566--------34
    -----28--------2568--------35
    -----29--------3287--------36
    -----30--------4623--------37
Aug------31--------8632--------37
   ------32--------4236--------38
   ------33--------7632--------39
   ------34--------5984--------40
Sept-----35--------1258--------40
    -----36--------4235--------41
    -----37--------2573--------42
    -----38--------423---------43
I don't want to reshape my dataset, I basically want a latex table showing only one value on the first column instead of repeating the  month over and over. I know this can be done with \multirow if the table is created manually. Since this table is created dynamically on the fly I don't know how to use \multirow like that. Hope is clear. Thanks
--- On Mon, 1/12/09, Dieter Menne <dieter.menne at menne-biomed.de> wrote:

            
#
Look at the rgroup and n.rgroup arguments of ?latex
function in Hmisc package or ?print.xtable in xtable package.

On Mon, Jan 12, 2009 at 1:48 PM, Felipe Carrillo
<mazatlanmexico at yahoo.com> wrote: