Re: [R] How to modify the values of the parameters passing via ...

2012-08-31 Thread Bert Gunter
The OP appears to be confused about argument lists and argument passing (which has nothing to do with "imputed variables" btw). Here is an explanation providing a more explicit explanation than RUI's post. The formal arguments of fun1 are "x", "y",and "z". The formal arguments of fun2 are "aa" and

Re: [R] How to modify the values of the parameters passing via ...

2012-08-30 Thread Rui Barradas
Hello, You could see what is fun1 receiving with this modification meant for debugging: fun1 <-function(x, y, z=10){ print(match.call()) x + y + z } Anyway, there is s standard way of dealing with argument '...' when one needs to know what was passed. Include dots <- list(...) at the