tpower.data: Matrix of p-values from the tpower function

Description Author(s) Examples

Description

This is a matrix of p-values from the tpower function. The columns have different mean differences (See diffs in the example for the differences).

Author(s)

Tyler Hunt tyler@psychoanalytix.com

Examples

1
2
3
4
5
data(tpower.data)
diffs <- c(0, .05, .15, .2, .25, .3, .35, .4, .45)
#-compute the power at each difference
power<-colMeans(tpower.data<.05)
plot(diffs, power, "l")

JackStat/CompPack documentation built on May 7, 2019, 10:16 a.m.