| wilcox.test | R Documentation |
A method designed for objects of class paired.
## S3 method for class 'paired' wilcox.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 V statistic. |
parameter |
the parameter(s) for the exact distribution of the test statistic. |
p.value |
the p-value for the test. |
null.value |
the true location shift mu. |
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. |
conf.int |
a confidence interval for the location parameter. (Only present if argument conf.int = TRUE.) |
estimate |
an estimate of the location parameter. (Only present if argument conf.int = TRUE.) |
Stephane Champely
yuen.test
data(PrisonStress) with(PrisonStress,wilcox.test(PSSbefore,PSSafter)) with(PrisonStress,wilcox.test(PSSbefore,PSSafter,paired=TRUE)) with(PrisonStress,wilcox.test(paired(PSSbefore,PSSafter)))