G*power analysis using R

It is impossible for any of us to know what it is you're referring to? Is G*power a proprietary software? Is there an R package of it? Do you have data? Please give us a reprex or something (FAQ: How to do a minimal reproducible example ( reprex ) for beginners )