Re: [R] calling pairs of variables into a function

2011-02-17 Thread rex.dwyer
squamous Sent: Wednesday, February 16, 2011 7:11 PM To: r-help@r-project.org Subject: [R] calling pairs of variables into a function Hi, I have imported three text files into R using read.table. Their variables are called d, e and f. I want to run a function on all the possible combinations of

[R] calling pairs of variables into a function

2011-02-16 Thread squamous
Hi, I have imported three text files into R using read.table. Their variables are called d, e and f. I want to run a function on all the possible combinations of these three files. The only way I know how to do that is like this: bigfunction(d,e) bigfunction(d,f) bigfunction(e,d) bigfunction(