[R] How to access source code

Ivan Krylov kry|ov@r00t @end|ng |rom gm@||@com
Thu Dec 8 17:22:21 CET 2022


В Thu, 8 Dec 2022 20:56:12 +0530
Christofer Bogaso <bogaso.christofer using gmail.com> пишет:

> > showMethods(LGD)  
> 
> Function: LGD (package GCPM)
> 
> this="GCPM"

Almost there! Try getMethod(LGD, signature = 'GCPM').

Not sure if this is going to work as written, but if you need to see an
S4 method definition, getMethod is the way.

-- 
Best regards,
Ivan



More information about the R-help mailing list