When I run the code in the quick start tutorial:
library(BrainPower)
data(allSDs)
allSamples <- calcSamples(allSDs, meanDiff = 5, dataType = "SDs")
I get the error: Error in pwr.t.test(n = nSamples, d = meanDiffDec/(cellSDs), sig.level = 9e-08, : could not find function "pwr.t.test"
I think you need to import these functions in the NAMESPACE file.
When I run the code in the quick start tutorial:
I get the error:
Error in pwr.t.test(n = nSamples, d = meanDiffDec/(cellSDs), sig.level = 9e-08, : could not find function "pwr.t.test"I think you need to import these functions in the NAMESPACE file.