knitr::opts_chunk$set(
  collapse = TRUE,
  comment = "#>",
  fig.path = "README-"
)

The tostpower package is a power/sample-size calculator for experiments designed to detect either that two population means are equivalent, or that one population mean is not inferior to second a second population mean, for either paired or unpaired observations.

The power calculation uses on the excellent pmvt function in the mvtnorm package of Genz, et al.

It is the computational engine underlying the shiny app of the same name, but it can be used as a standalone package.

install_github(username = 'dennismalandro', 'tostpower')

library(tostpower)
tost_power(20)


dennismalandro/tostpower documentation built on May 15, 2019, 3:25 a.m.