power.mway.table: Power calculator

Description Usage Arguments Value Examples

View source: R/SphereKaji20140527.R

Description

Power calculator

Usage

1
power.mway.table(A, tests, alpha, n)

Arguments

A

An array or matrix of a table representing alternative hypothesis

tests

A list of array/marix of tables indicating tests

alpha

type 1 error threshold

n

Number of iteration to estimate

Value

Examples

1
2
3
4
5
6
7
8
A <- matrix(c(10,20,30,40,50,60),2,3)
t1 <- t2 <- t3 <- matrix(c(1,0,0,0,0,0),byrow=TRUE,2,3)
t2[1,2] <- 0.5
t3[1,2] <- 1
tests <- list(t1,t2,t3)
alpha <- 0.05
n <- 1000
power.mway.table(A,tests,alpha,n)

ryamada22/mwaytable documentation built on May 28, 2019, 10:44 a.m.