[R] correlating rows of two differently-sized data frames in R

2012-08-09 Thread JenniferH
Hello everyone, I have two sets of data, with the following structure: DataSet1 Location PartSample 1 Sample 2 A 1 value value A 2 value value A 3 value value B

Re: [R] repeating a function across a data frame

2012-08-01 Thread JenniferH
Hi Petr and Jean, thanks very much, problem solved! Really appreciate your help. Jennifer -- View this message in context: http://r.789695.n4.nabble.com/repeating-a-function-across-a-data-frame-tp4638643p4638678.html Sent from the R help mailing list archive at Nabble.com. _

[R] repeating a function across a data frame

2012-08-01 Thread JenniferH
Hello everyone. Like others on this list, I'm new to R, and really not much of a programmer, so please excuse any obtuse questions! I'm trying to repeat a function across all possible combinations of vectors in a data frame. I'd hugely appreciate any advice! Here's what I'm doing: I have some