R code and notebook for my blog post on power estimation for correlation analyses:
The notebook is available here.
The R code is in corr_power.Rmd; datasets of simulation results are in the data folder, to be able to reproduce the figures without running the simulations.