[R] exclude1 in summary.formula from Hmisc

Frank E Harrell Jr f.harrell at vanderbilt.edu
Fri Jul 20 14:06:00 CEST 2007

david dav wrote:
> Dear Users,
> Still having troubles with sharing my results, I'm trying to display a
> contingency table using summary.formula.
> Computing works well but I'd like to display information on redundant
> entries say, males AND females.

Please tell us what output you got.  And it is sometimes helpful to get 
a trivial example of the failure with simulated data.

Also see a related parameter "long".


> I wonder if this code is correct :
> desqualjum <- summary.formula(varqual1$X ~.,  data = subset( varqual1,
> select = -X), method = "reverse",  overall = T, test = T, exclude1 = FALSE)
> where varqual1 is the data frame containing the variable "sex".
> I'm using R 2.5.1 and Hmisc 3.4-2 on a Mac (OSX.4, intel)  but I had the
> same trouble with  former versions of R and the package.
> Thank you for your help.
> David
> 	[[alternative HTML version deleted]]
> ______________________________________________
> R-help at stat.math.ethz.ch 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.

Frank E Harrell Jr   Professor and Chair           School of Medicine
                      Department of Biostatistics   Vanderbilt University

More information about the R-help mailing list