Re: [R] mapply on multiple data frames

2013-06-11 Thread arun
A.K. - Original Message - From: "Webb,Elizabeth E" To: "r-help@R-project.org" Cc: Sent: Tuesday, June 11, 2013 2:07 AM Subject: [R] mapply on multiple data frames Hi all- I am wondering about using the mapply function to multiple data frames.  Specifically, I woul

[R] mapply on multiple data frames

2013-06-10 Thread Webb,Elizabeth E
Hi all- I am wondering about using the mapply function to multiple data frames. Specifically, I would like to do a t-test on a subset of multiple data frames. All data frames have the same structure. Here is my code so far: f<-function(x,y) { test<-t.test(x$col1[x$col3=="num",],v$col2[x$col3=