Re: [R] inverse of the methods function

2021-05-03 Thread Abbs Spurdle
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

Re: [R] inverse of the methods function

2021-05-03 Thread Martin Morgan
> 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

[R] inverse of the methods function

2021-05-03 Thread Therneau, Terry M., Ph.D. via R-help
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