be <- c(4,4,3,4,3,2,6,6,5) af <- c(1,6,2,2,4,3,5,4,3) be_s <- mean(be) af_s <- mean(af) alpha <- 0.05 t.test(af, mu=be_s, alternative="greater")
Standard input is empty
One Sample t-test data: af t = -1.4757, df = 8, p-value = 0.9109 alternative hypothesis: true mean is greater than 4.111111 95 percent confidence interval: 2.353265 Inf sample estimates: mean of x 3.333333