Hello!
I have two functions.
The first one prepares the arguments for the second one. What is the best
way to put all resoults of the first one into the second one? I tried
attach, however the object in the main enviorment have a priority over the
ones in list. An example is at the end.
?with will help you.
I would avoid using 'list' as a function name, as it will confuse people
and might confuse R too.
On Tue, 2 Aug 2005, [iso-8859-2] Alea }iberna wrote:
Hello!
I have two functions.
The first one prepares the arguments for the second one. What is the best
way to put
Thank you!
However, this does not do exacty what I want. I would like somehow to modify
only the function second.
BTW, I used list only to create a list, it is not one of my functions.
Thanks again,
Ales Ziberna
- Original Message -
From: Prof Brian Ripley [EMAIL PROTECTED]
To: Ales
On Tue, 2 Aug 2005, Ales Ziberna wrote:
Thank you!
However, this does not do exacty what I want. I would like somehow to modify
only the function second.
What happened when you tried my suggestion as
second - function(l, c) with(l, a + b + c)
? It does work for me.
BTW, I used list
I apologize, it seams did not interpret your first mail corectly!
Everything works now!
Thank you again!
Ales Ziberna
- Original Message -
From: Prof Brian Ripley [EMAIL PROTECTED]
To: Ales Ziberna [EMAIL PROTECTED]
Cc: R-help r-help@stat.math.ethz.ch
Sent: Tuesday, August 02, 2005 11:25