This is my situation: 11 variables columns vs 1 column.
I want to test the single column[which it's sorted into 0 and 1s to create two groups] for each of the 11 columns. Single column and 11 columns have different lenghts and are not homoschedastic.
I tried with:
> TTest1 <- t.test(A$Column1, Bsorted0, var.equal = FALSE)
> View(TTest1)
which gave me a p-value of 7.681668e-05
but how can I loop this in order to have A$column1,2,3,4,5...each one tested with Bsorted0? Is it the right approach?
Thanks