data: Avalue and Bvalue t = 5.9463, df = 5, p-value = 0.001922 alternative hypothesis: true difference in means is not equal to 0 95 percent confidence interval: 0.008146513 0.020553487 sample estimates: mean of the differences 0.01435
> t.test(Avalue-Bvalue)#这是按我上面说的方法进行的检验
One Sample t-test
data: Avalue - Bvalue t = 5.9463, df = 5, p-value = 0.001922 alternative hypothesis: true mean is not equal to 0 95 percent confidence interval: 0.008146513 0.020553487 sample estimates: mean of x 0.01435 检验结果是拒绝原假设,所以认为两种方法的结果有显著差异