Repeat Function Across Rows

hlsmith

Not a robit
#1
I am trying to run a bunch of values through the evalues.RD function in the EValue package in R. The function just wants inputs for 4 integer values:
Code:
install.packages("EValue")
library(Evalue)
evalues.RD(300,20,10,310)
However, I want to run a bunch of values through the function. The function doesn't like these data as inputs. See toy data below:
Code:
C11 = as.integer(floor(runif(10, 20, 50)))
C10 = as.integer(floor(runif(10, 50, 90)))
C01 = as.integer(floor(runif(10, 1, 19)))
C00 = as.integer(floor(runif(10, 50, 90)))
evalues.RD(C11, C10, C01, C00)
How do I run a bunch of values through the function? I am guessing something with a loop or apply.
Eventually I want to do something with the generated $lower.Evalue values, so there may be an imminent follow-up question.

Thanks.