hello: Calculate and Plot Power-Related Variables

Description Usage Examples

Description

Takes the above inputs with the exeption of (m1 & m1), power, or n, and uses them to calculate the omitted variable and plot it against a specified indicator variable (ind) either "diff", "power", or "sample".

Usage

1
analyze.inputs(sdA0 = ,sdA1 = ,sdB0 = ,sdB1 = ,r1 = ,alpha =,m1 = ,m2 = ,power = , n = , ind = "")

Examples

1
2
3
analyze.inputs(sdA0 = 2,sdA1 = 2,sdB0 = 2,sdB1 = 2,r1 = c(.5,.6,.7),alpha =.05,m1 = 55,m2 = 54,power = c(.6,.7,.8), ind = "power")

analyze.inputs(sdA0 = 2,sdA1 = 2,sdB0 = 2,sdB1 = 2,r1 = c(.5,.6,.7),alpha =.05, power = .7, n = c(60,64,68) ind = "sample")

jcmatei/easypwr documentation built on May 17, 2019, 8:21 a.m.