README.md

powerstan

Build Status Coverage Status

An R package for performing power analyses using Stan.

Alternatives

pwr simr

Notes on using Stan

https://groups.google.com/forum/#!topic/stan-users/OZzMqCrM4pA

Notes on using rstan.package.skeleton

  1. After using rstan.package.skeleton() read the Read-and-delete-me file very carefully.

  2. It's critical the cleanup and cleanup.win scripts be executable. Running R CMD build runs the cleanup script, which converts the Stan models in the exec folder into C++ code to be included in the package.

  3. Here are the commands I use to build and check my package:

    R CMD build .
    R CMD check powerstan_1.0.tar.gz
    


amarder/powerstan documentation built on May 12, 2019, 2:34 a.m.