Is it possible to change the default values โโof formal parameters in an R function at run time?
Suppose we have a function
f <- function(x=1) { ... }
Is there any way to change the default value of x from 1 to, say, 2?
Thanks in advance,
Sven
Sven hager
source share