How to perform student t test contain mulitple observation in R : Here is my data, 900000 obs of 9 variables in R.
I've tried apply function but unable to give parameters in apply function.
Data looks like this, please help.

    ID A1 A2 A3 A4 A5 B1 B2 B3 B4
    1  10 12 11 13 15 50 55 56 57
    2  20 22 23 21 20 60 76 78 71
    3  10 12 13 15 14 50 55 52 53
    ...
    90000 11 12 13 15 12 21 22 23 24

I need to perform 900000 times two sample student t test from those 9 variables divide into 2 groups (group A and B).
Can anyone post a code here?Thanks.
