How can exact p-values be obtained for this test when there are ties? Wilcox.test returns warnings when this happens as shown:
1: In wilcox.test.default(x = c3a0, y = c3a1, alternative = c("two.sided", :
cannot compute exact p-value with ties
2: In wilcox.test.default(x = c3a0, y = c3a1, alternative = c("two.sided", :
cannot compute exact confidence interval with ties
The coin::wilcoxsign_test() method handles ties using two options: Wilcoxon and Pratt. Let me quote the documentation ("zeros" refer to the ties):
https://cran.r-project.org/web/packages/coin/coin.pdf