"?UseMethod" reveals a command "method", which I often use in situations
like this:
methods("aggregate")
[1] "aggregate.data.frame" "aggregate.default" "aggregate.ts"
Now list "aggregate.data.frame", "aggregate.default", and "aggregate.ts".
This works for functions written using the old S3 standard. It
may not work (at least in S-Plus 6.1) for functions written using the
new S4 standard, but I'm currently ignorant of what to do in that case.
However, the above might help answer your current question.
spencer graves
[EMAIL PROTECTED] wrote:
>In a message dated 9/20/03 9:19:57 AM Pacific Daylight Time,
>[EMAIL PROTECTED] 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?
>--anupam.
>
> [[alternative HTML version deleted]]
>
>______________________________________________
>[EMAIL PROTECTED] mailing list
>https://www.stat.math.ethz.ch/mailman/listinfo/r-help
>
>
[[alternative HTML version deleted]]
______________________________________________
[EMAIL PROTECTED] mailing list
https://www.stat.math.ethz.ch/mailman/listinfo/r-help