I'm attempting to do a T-Test across many different columns at once, but can't figure out how to do it. Here is what I have for one of the columns, Clout
.
t.test(wf[wf$ThreadID == 249001,]$Clout,wf[wf$ThreadID == 230005,]$Clout)
But I have about 20 other columns, e.g. Authentic
, Tone
How can I run this test across all columns?