| t.test | R Documentation |
A method designed for objects of class paired.
## S3 method for class 'paired' t.test(x, ...)
x |
An object of class paired. |
... |
further arguments to be passed to or from methods. |
A list with class "htest" containing the following components:
statistic |
the value of the t-statistic. |
parameter |
the degrees of freedom for the t-statistic. |
p.value |
the p-value for the test. |
conf.int |
a confidence interval for the mean appropriate to the specified alternative hypothesis. |
estimate |
the estimated difference in mean. |
null.value |
the specified hypothesized value of mean difference. |
alternative |
a character string describing the alternative hypothesis. |
method |
a character string indicating what type of test was performed (always paired here) |
data.name |
a character string giving the name(s) of the data. |
Stephane Champely
yuen.t.test
data(PrisonStress) with(PrisonStress,t.test(paired(PSSbefore,PSSafter)))