a <- c(15,10,10,7,7,4,9,6,10,12) b <- c(8,9,2,0,0,9,9,7,3,3) t.test(a, b, alternative="less")
Standard input is empty
Welch Two Sample t-test
data: a and b
t = 2.5701, df = 17.469, p-value = 0.9902
alternative hypothesis: true difference in means is less than 0
95 percent confidence interval:
-Inf 6.703258
sample estimates:
mean of x mean of y
9 5