Compute Power for Mediated (Indirect) Effects Requires correlations between all variables as sample size. This approach calculates power for the Sobel test. The medjs function calculates power based on joint significance (recommended)
Useful links