my x values in my table are "Control" or "Air" and I need to do the t-test with those variables up against each other
this is what I tried to do, but its giving me an error for my formatting for"(subset(fishjump,Treatment=="Control")$Time~(subset(fishjump,Treatment=="Air")$Time"
t.test(subset(fishjump,Treatment=="Control")$Time~(subset(fishjump,Treatment=="Air")$Time, mu=0, alt="two.sided", conf.level = 0.95, var.equal = F, paired = F)