[R] using aggregate with survey-design and survey functions
    Thomas Lumley 
    tlumley at u.washington.edu
       
    Sun Sep 21 22:39:03 CEST 2003
    
    
  
On Sat, 20 Sep 2003 TyagiAnupam at aol.com wrote:
> In a message dated 9/20/03 9:19:57 AM Pacific Daylight Time,
> tlumley at u.washington.edu writes:
>
> > svymean needs the survey metadata to get the right mean, and aggregate
> > doesn't give it enough information.  aggregate would need a separate
> > method for svydesign objects.
>
> Thanks for the info. I tried looking at source code of aggregate, but it only
> points to UseMethod("aggregate"). How can I find the source of this method?
methods("aggregate") will tell you where to look: aggregate.data.frame or
aggregate.default.
	-thomas
    
    
More information about the R-help
mailing list