mod <-
function(formula, data, start, pars=default.pars)
{
call <- match.call()
data <- ...
obj <- nls(formula, ...)
obj
}
The call is recorded to for obvious reasons. My question is to do with
'match.call'. Is there a way of getting it to pick up arguments with
default values? For example, with the above definition, the value for the
argument 'pars' isn't returned by 'match.call'.
Michael Campbell