[Rd] args() and body() equivalents for S4 methods?

From: Vinh Nguyen <vqnguyen_at_uci.edu>
Date: Tue, 05 Oct 2010 15:41:59 -0700


Dear list,

Suppose some methods were defined for a generic function genF(fitobj, ...). Suppose one has signature(fitobj="lm") and signature(fitobj="glm"). The ... piece of each method could have different arguments. I'm aware of getMethod("genF", "lm") to get the function definition but are there equivalents to the args() and body() functions?

Thanks.
Vinh

--
Vinh Nguyen
Department of Statistics
Donald Bren School of ICS
2231 Bren Hall
University of California, Irvine
Irvine, CA 92607
vqnguyen@uci.edu | http://www.ics.uci.edu/~vqnguyen/
Schedule a meeting: http://tungle.me/VinhNguyen

______________________________________________
R-devel_at_r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-devel
Received on Tue 05 Oct 2010 - 22:44:32 GMT

Archive maintained by Robert King, hosted by the discipline of statistics at the University of Newcastle, Australia.
Archive generated by hypermail 2.2.0, at Wed 06 Oct 2010 - 04:50:07 GMT.

Mailing list information is available at https://stat.ethz.ch/mailman/listinfo/r-devel. Please read the posting guide before posting to the list.

list of date sections of archive