Re: [R] How to access source code

2022-12-08 Thread Uwe Ligges
a useful fast track to getting an overview of what is going on. Martin Morgan From: R-help on behalf of Ivan Krylov Date: Thursday, December 8, 2022 at 11:23 AM To: Christofer Bogaso Cc: r-help Subject: Re: [R] How to access source code � Thu, 8 Dec 2022 20:56:12 +0530 Christofer Bogaso

Re: [R] How to access source code

2022-12-08 Thread Martin Morgan
Cc: r-help Subject: Re: [R] How to access source code � Thu, 8 Dec 2022 20:56:12 +0530 Christofer Bogaso �: > > showMethods(LGD) > > Function: LGD (package GCPM) > > this="GCPM" Almost there! Try getMethod(LGD, signature = 'GCPM'). Not sure if this i

Re: [R] How to access source code

2022-12-08 Thread Ivan Krylov
В Thu, 8 Dec 2022 20:56:12 +0530 Christofer Bogaso пишет: > > 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 th

[R] How to access source code

2022-12-08 Thread Christofer Bogaso
Hi, I am trying to access the source code from package GCPM, where I am interested to look into the source code of one function called LGD. So I did below > LGD standardGeneric for "LGD" defined from package "GCPM" function (this) standardGeneric("LGD") Methods may be defined for argumen