Re: [R] Passing arguments to a function within a function ...

2012-08-07 Thread christiaan pauw
Thanks Rui It works. On 7 August 2012 11:34, Rui Barradas wrote: > Hello, > > Your problem seems simple, if I understand it correctly. Just add an extra > argument to the caller function, drep(). Christiaan Pauw Nova Institute www.nova.org.za __ R-he

Re: [R] Passing arguments to a function within a function ...

2012-08-07 Thread Rui Barradas
Hello, Your problem seems simple, if I understand it correctly. Just add an extra argument to the caller function, drep(). drep <- function(pop.conc = x, sicklist = adult.CP.mortality, par = "cental estimate", ...) { #> This extra argument dr.out = by(x, x$Name,