Hi Georgi, Uri, John and List,
Thank you, that was very helpful!
Kind regards
Jose Barrera
Statistician, Associate Lecturer
*IS**Global*
Barcelona Institute for Global Health - Campus MAR
Barcelona Biomedical Research Park (PRBB) (Room Hypatia)
Doctor Aiguader, 88
08003 Barcelona, Spain
Tel. +
Dear Jose,
On 2024-12-18 10:26 a.m., John Fox wrote:
Caution: External email.
Dear Jose,
Assuming that you can fix the bugs in the original function, one
approach would be to make myfun() generic, say myfun <- function(y, ...)
UseMethod("myfun"), with the (fixed) original myfun() as the defau
Dear Jose,
Assuming that you can fix the bugs in the original function, one
approach would be to make myfun() generic, say myfun <- function(y, ...)
UseMethod("myfun"), with the (fixed) original myfun() as the default
method and a new function method, which would probably set up a call to
the
arrera-Gómez ; R Package Development
Subject: Re: [R-pkg-devel] Changes in function call with respect to the current
published version
> myfun(y = birthweight, x = cotinine, z = age, data = mydata, ...)
> and new usage would be
> myfun(formula = birthweight ~ cotinine + age, data = my
will be removed in
version x.y.
Georgi Boshnakov
From: R-package-devel on behalf of Jose
Barrera-Gómez
Sent: 17 December 2024 21:00
To: R Package Development
Subject: [R-pkg-devel] Changes in function call with respect to the current
published ver
Dear List,
I have a package that works in the context of regression models. The main
function has arguments (y, x, z, data, ...), where y is the response
variable, x is the explanatory variable and z can be other covariates.
Due to some bugs, I am interested in changing the call from (y, x, z, da