I have results from the same test applied to two independent samples

x <- c(17, 12, 13, 16, 9, 19, 21, 12, 18, 17)

y <- c(10, 6, 15, 9, 8, 11, 8, 16, 13, 7, 5, 14)

and want to compute a Wilcoxon rank sum test.

When I calculate T<sub>W</sub> by hand, I get:

T<sub>W</sub> = ∑rg(X<sub>i</sub>) = 156.5

When I let R perform a `wilcox.test(x, y, correct = F)`, I get:

W = 101.5

Why is that? Shouldn't `W` only be returned when I perform a *signed* rank test with `paired = T`?

**How can I tell R to output T<sub>W</sub>?**