Reputation:
I need to see the code for the summary function which is used in mirt package to see the factor loading matrix.
I have tried edit(summary)
which in return giving me this
function (object, ...)
standardGeneric("summary")
which is not very helpful for me. How can I see the code for summary
?
Upvotes: 1
Views: 206
Reputation: 44535
summary
is a generic function. So you need to see the class-specific method for whatever type of object you're trying to summary
-ize. E.g., see summary.lm
(for lm
objects). You don't specify the object class you're working with, so it's impossible to say what specific summary
function you need to look at.
UPDATE: These are s4 generics, which is a bit more complicated than summary.lm
, which is s3. Some quick googling reveals that you can see the relevant s4 methods on the package's Github page. The contents of summary
will depend on what specific class you're looking at (and there appear to be four classes in the package):
This question and answer will also be helpful for addressing these kinds of questions in general in the future.
Upvotes: 1