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 it, and parse out the entries.   I was looking for something 
> built-in, i.e., easier.
>
>
> --
> Terry M Therneau, PhD
> Department of Health Science Research
> Mayo Clinic
> thern...@mayo.edu
>
> "TERR-ree THUR-noh"
>
>
> [[alternative HTML version deleted]]
>
> __
> R-help@r-project.org mailing list -- To UNSUBSCRIBE and more, see
> https://stat.ethz.ch/mailman/listinfo/r-help
> PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
> and provide commented, minimal, self-contained, reproducible code.

__
R-help@r-project.org mailing list -- To UNSUBSCRIBE and more, see
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.


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  initialize kappa
[21] labels logLik model.framemodel.matrix   nobs
[26] plot   predictprint  proj   qr
[31] residuals  rstandard  rstudent   show   simulate
[36] slotsFromS3summaryvariable.names vcov
see '?methods' for accessing help and source code

Martin Morgan

On 5/3/21, 6:34 PM, "R-help on behalf of 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, and parse out the entries.   I was looking for something 
built-in, i.e., easier.


-- 
Terry M Therneau, PhD
Department of Health Science Research
Mayo Clinic
thern...@mayo.edu

"TERR-ree THUR-noh"


[[alternative HTML version deleted]]

__
R-help@r-project.org mailing list -- To UNSUBSCRIBE and more, see
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.
__
R-help@r-project.org mailing list -- To UNSUBSCRIBE and more, see
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.


[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 Therneau, PhD
Department of Health Science Research
Mayo Clinic
thern...@mayo.edu

"TERR-ree THUR-noh"


[[alternative HTML version deleted]]

__
R-help@r-project.org mailing list -- To UNSUBSCRIBE and more, see
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.