Skip to content

import pwr package functions #1

Description

@ejh243

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions