i getting below result while performing 1 sample t-test
one sample t-test data: x() t = 1.9628, df = 6, p-value = 0.09731 alternative hypothesis: true mean not equal 0 95 percent confidence interval: -2.642339 24.070910 sample estimates: mean of x 10.71429 here data not getting displayed column name of data have used test instead displaying variable name used part of code. how change data name data column name while displaying test result?
you can overwrite data.name variable of result.
a <- t.test(c(12,3,4,5,2), c(2,34,2,4,3)) a$data.name <- 'bla bla' welch 2 sample t-test data: bla bla t = -0.58399, df = 4.6367, p-value = 0.5865 alternative hypothesis: true difference in means not equal 0 95 percent confidence interval: -20.92852 13.32852 sample estimates: mean of x mean of y 5.2 9.0
Comments
Post a Comment