To get the power of the t-test I use this R code:
pwr.t.test(n=25,d=0.35,sig.level=0.05,type="one.sample",alternative="greater")
and for the test of the Pearson coefficient of correlation I use this R code :
pwr.r.test(r=0.3,n=36,sig.level=0.05,alternative="greater")
I would like to know if it is possible to get the R code/script to get the power of the 3 nonparametric test (Wilcoxon, Wilcoxon/Mann-Whitney and the Kruskal-Wallis)?