analyze.inputs: Calculate and Plot Power-Related Variables.

Description Usage Arguments Value 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)

Arguments

sdA0

A number.

sdA1

A number.

sdB0

A number.

sdB1

A number.

r1

A number.

alpha

A number.

m1

A number.

m2

A number.

power

A number.

n

A number.

A

number.

Value

A data frame and plot of inputted model.

Examples

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

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