How to get the z- score in Wilcox test in R Using the  wilcox.test() function in R, I get the p-value. I want to report the z-score for the test.
How can i get the z-score for wilcox test in R?
 A: At the time of writing, the comments pretty much answer the question, but I'll put them in answer form, so that the code can be shown explicitly.
The following demonstrates the two techniques I've seen commonly used.  I can't vouch for either of them.
The first uses the wilcox_test function in the coin package.  The statistics reported here are called Z and r.
The second uses the wilcox.test function and derives Z from invoking the qnorm function.  The statistics reported here are called Za and ra.
r is sometimes calculated as an effect size for the Mann-Whitney test.  It is included here because calculating r is one of the reasons why people want to extract the Z value.
You'll note that the Z values differ between the two techniques. 
if(!require(coin)){install.packages("coin")}

set.seed(169)

n = 16

N = n + n

A = runif(n,1,10)
B = A + 5 + rnorm(n,0,4)

Group = factor(c(rep("A", length(A)), rep("B", length(B))))
Y = c(A,B)

boxplot(Y ~ Group)

library(coin)

MW = wilcox_test(Y ~ Group)
MW

Z = as.numeric(statistic(MW, type="standardized"))
names(Z) = "Z"

Z

   ###         Z 
   ### -4.258848 

MWa = wilcox.test(Y ~ Group, exact=FALSE)

MWa

Za = qnorm(MWa$p.value/2)

Za

   ### [1] -4.240003

r = abs(Z)/sqrt(N)
names(r) = "r"

r

   ###        r 
   ### 0.752865

ra = abs(Za)/sqrt(N)
names(ra) = "ra"

ra

   ###        ra 
   ### 0.7495338

Sources of interest:
Grokbase
