Re: [R] how to manipulate ... within a function

2008-12-20 Thread Dan Kelley
Thanks very much, Duncan. In case it's of interest to others who encounter this thread later, I am pasting below the code I wrote. It is for the 'oce' package for oceanographic data, which explains the reversal of the y axis, forming a so-called 'profile', in which the top of the graph represent

Re: [R] how to manipulate ... within a function

2008-12-18 Thread Duncan Murdoch
On 18/12/2008 7:19 PM, Dan Kelley wrote: Is there a way a function ('parent', say) can manipulate the ... argument, and then pass the manipulated value into another function ('child', say) that it calls? What I'm trying to do is to use some plotting defaults within 'parent' that are not part of

[R] how to manipulate ... within a function

2008-12-18 Thread Dan Kelley
Is there a way a function ('parent', say) can manipulate the ... argument, and then pass the manipulated value into another function ('child', say) that it calls? What I'm trying to do is to use some plotting defaults within 'parent' that are not part of parent's argument list, but to let the use