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 ______________________________________________ R-help@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide http://www.R-project.org/posting-guide.html and provide commented, minimal, self-contained, reproducible code.