[R] inspect s4 methods

Ista Zahn izahn at psych.rochester.edu
Fri Oct 23 03:11:52 CEST 2009


Hi everyone,
I'm sure this has been asked before, but I could not find the right
search terms to find it.

If I want to see what summarizing a model fit with lm() does, I can
write "summary.lm". But what if I want to see what summarizing a model
fit with lmer() (lme4 package) does?

showMethods(summary)
Function: summary (package base)
object="ANY"
object="character"
    (inherited from: object="ANY")
object="mer"
object="sparseMatrix"
object="summary.mer"

tells me there is a "mer" method, but  "summary.mer" gives me no joy.
How can I see what summary.mer does? Do I have to inspect the source
code?

-- 
Ista Zahn
Graduate student
University of Rochester
Department of Clinical and Social Psychology
http://yourpsyche.org




More information about the R-help mailing list