trying to perform a t.test for each row and count all rows where p-value is less than 0.05
问题 I've been wrecking my head for the past four hours trying to find the solution to an R problem, which is driving me nuts. I've searching everywhere for a decent answer but so far I've been hitting wall after wall. I am now appealing to your good will of this fine community for help. Consider the following dataset: set.seed(2112) DataSample <- matrix(rnorm(24000),nrow=1000) colnames(DataSample) <- c(paste("Trial",1:12,sep=""),paste("Control",13:24,sep="")) I need to perform a t-test for every