Re: [R] finding out if a method exists

2017-03-28 Thread Therneau, Terry M., Ph.D.
Thanks much Duncan. Having someone do the work for me is even better than a function! The cmatrix function will be to make contrast matrices BTW. On 03/28/2017 08:11 AM, Duncan Murdoch wrote: On 28/03/2017 8:53 AM, Therneau, Terry M., Ph.D. wrote: I'm thinking of adding a new "cmatrix" functi

Re: [R] finding out if a method exists

2017-03-28 Thread Duncan Murdoch
On 28/03/2017 8:53 AM, Therneau, Terry M., Ph.D. wrote: I'm thinking of adding a new "cmatrix" function/method to the survival package but before I do I'd like to find out if any other packages already use this function name. The obvious method is to look at the NAMESPACE file for each packag

[R] finding out if a method exists

2017-03-28 Thread Therneau, Terry M., Ph.D.
I'm thinking of adding a new "cmatrix" function/method to the survival package but before I do I'd like to find out if any other packages already use this function name. The obvious method is to look at the NAMESPACE file for each package in CRAN and read the export list. This is the kind of