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

Vinh Nguyen vqnguyen at uci.edu
Wed Oct 6 00:41:59 CEST 2010


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 at uci.edu | http://www.ics.uci.edu/~vqnguyen/
Schedule a meeting: http://tungle.me/VinhNguyen



More information about the R-devel mailing list