[R] extension of ftable

Dieter Menne dieter.menne at menne-biomed.de
Fri Jan 23 08:26:42 CET 2009


Santosh <santosh2005 <at> gmail.com> writes:

> Is there way to combine grouped and consolidated summaries into a formatted
> multidimensional summary table?
> e.g.
> 
>                           male    female  total
> country   state
> usa
>           new jersey    10      20      30
>           new york      23      31      54
>           missouri       43      34      77
>           Total            76      85      161
> England
>           Essex          11      43      54
>           Surrey          24      54      78

summary.formula in package Hmisc can do this, if you can hack your path through
the parameter jungle.

Dieter




More information about the R-help mailing list