Displaying 1 result from an estimated 1 matches for "foo3defaults".
Did you mean:
foo2defaults
2006 Oct 24
2
as.missing
...n which calls other functions, and may often use
the default arguments to those functions, but needs the capability to
pass along non-default choices. I usually do this with some variation on
foo <- function(x, foo2Args=NULL or a list(foo2defaults),
foo3Args=NULL or a list(foo3defaults))
and then have logic to check for NULL, or use the list in combination
with do.call. It is also possible to do this with ..., but it always
seems a bit dangerous passing all the unnamed arguments along to all the
functions being called, especially when I always seem to be calling
functions t...