fork download
  1. a <- c(15,10,10,7,7,4,9,6,10,12)
  2. b <- c(8,9,2,0,0,9,9,7,3,3)
  3. mean(a)
  4. mean(b)
  5. sd(a)
  6. sd(b)
  7. t.test(a-b, alternative="less")
  8. mean(a)-mean(b)
  9. sd(a)-sd(b)
  10.  
Success #stdin #stdout 0.31s 22832KB
stdin
Standard input is empty
stdout
[1] 9
[1] 5
[1] 3.162278
[1] 3.771236

	One Sample t-test

data:  a - b 
t = 2.6312, df = 9, p-value = 0.9863
alternative hypothesis: true mean is less than 0 
95 percent confidence interval:
    -Inf 6.78676 
sample estimates:
mean of x 
        4 

[1] 4
[1] -0.6089585