New to R, Error could not find function power.sim and time.sim

I'm trying to run Lafit's PowerAnalysisIL and keep hitting the error messages above when I run the simulations. I have uninstalled and reinstalled both R and RStudio but unsure about what else to look at. Any advice appreciated.

power.sim and time.sim are not base R functions so they must come from some R package that you need to install and load in your session.

Check the material you are following, at some point they must mention the origin of the functions or what packages you need to install.

This topic was automatically closed 21 days after the last reply. New replies are no longer allowed.

If you have a query related to it or one of the replies, start a new topic and refer back with a link.