[R] Wilcoxon Rank test of Package Coin

Jue.Wang2 at sanofi-aventis.com Jue.Wang2 at sanofi-aventis.com
Fri Sep 29 21:19:01 CEST 2006


Hi,

I am running the following example which can be found on page 12 of the pdf file of COIN package

wt<-wilcox_test(pd~age,data=water_transfer,distribution="exact", conf.int=TRUE)

"wt" actually contains the estimate of difference in location and the confidence interval of it.  I am just wondering how can I extract these values? From the examples, I understand that the Wilcoxon statistic can be extracted as
statitic(wt,"linear") 
and the exact two-sides p-value can be extracted as 
pvalue(wt) 

But I haven't been able to find the correct function to extract the estimates of difference median of y-x) and the confidence interval of this estimates. Shall I go back to the  package ExactRankTest? I do know how to extracted these values from function wilcox.exact there.

Thank you
 

Jue Wang, Biostatistician
Contracted Position for Preclinical & Research Biostatistics
PrO Unlimited
(908) 231-3022



More information about the R-help mailing list