Skip to content
Prev 30478 / 398513 Next

summary.formula: method reverse does not use fun argument

Thanks also to Thomas Lumley for his reply concerning summary.formula in the Hmisc package.  See below for some more notes.  -FH

On Fri, 11 Apr 2003 10:25:41 +0200
Thomas Gerds <gerds at fdm.uni-freiburg.de> wrote:

            
Sorry about the typo.  You are correct, that should have been "right hand side variables".
As stated in the documentation, fun applies only to method='response' and method='cross'.
Yes, see the documentation.  Create a bivariate response variable with cbind and use a bivariate summarization function as 'fun'.  And note that using 'stratify(someothervariable)' you can create multiple groups across columns as with method='reverse'; you just can't get statistical tests for them with method='response'.

Frank Harrell
---
Frank E Harrell Jr              Prof. of Biostatistics & Statistics
Div. of Biostatistics & Epidem. Dept. of Health Evaluation Sciences
U. Virginia School of Medicine  http://hesweb1.med.virginia.edu/biostat