methods (,"glm")
On Tue, May 4, 2021 at 10:34 AM Therneau, Terry M., Ph.D. via R-help
wrote:
>
> Is there a complement to the methods function, that will list all the defined
> methods for
> a class?One solution is to look directly at the NAMESPACE file, for the
> package that
> defines it
> methods(class = "lm")
[1] add1 alias anova case.names coerce
[6] confintcooks.distance deviance dfbeta dfbetas
[11] drop1 dummy.coef effectsextractAIC family
[16] formulahatvalues influence initiali
Is there a complement to the methods function, that will list all the defined
methods for
a class? One solution is to look directly at the NAMESPACE file, for the
package that
defines it, and parse out the entries. I was looking for something built-in,
i.e., easier.
--
Terry M Therneau
3 matches
Mail list logo