[R] Would like to apply a weight variable to the summary function in Hmisc

Greg Blevins gblevins at mn.rr.com
Mon Aug 18 04:31:38 CEST 2003


Hello,

In the Hmisc package, functions describe and summarize can explicitly take a
weight variable.

My question is can a weight variable be applied when using 'summary'?

For example, using...summary(var1 ~  var2) I would like to weight the data
by var 3 (same length).

Is this possible?

Thanks a lot.
Greg Blevins
The Market Solutions Group, Inc.




More information about the R-help mailing list