Hi, > >I am trying to describe a data.frame by obtaining multiple crosstable summary >statistics at once. I have tried table, xtab, crosstable, summaryBy and >describe but none of these functions seems to allow muliple conparisons at >once. > Here, is what I would like to do: > >I have, for instance, age, sex (M and F), grade (1, 2, 3) and site (limb, >trunk) and I want the, for instance, following summary statistics: >- age (mean, SD) for males and age for females >- age for grade 1, grade2, and grade 3 >- age for site limb, site trunk >- sex (count, proportions) for grade 1, grade2, and grade 3 >- sex (count, proportions) site limb, site trunk (already have sex/age above) >- grade (count, proportions) for site limb, site trunk (already have grade/sex >and grade/age above) >a >lso, I want each of these not crossed by any others (mean overall age, numbers >of males, etc) which could be seen as each crossed with its own. > >I have at least 10 variables, continuous, categorical ordered and non ordered. >I don't want any tests. > >Any idea? > >David Biau. >
[[alternative HTML version deleted]]
______________________________________________ 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.