esImcp:

Usage Arguments Examples

Usage

1
esImcp(J, K, x, tr = 0.2, nboot = 100, SEED = TRUE)

Arguments

J
K
x
tr
nboot
SEED

Examples

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
##---- Should be DIRECTLY executable !! ----
##-- ==>  Define data, use random,
##--	or do  help(data=index)  for the standard data sets.

## The function is currently defined as
function (J, K, x, tr = 0.2, nboot = 100, SEED = TRUE) 
{
    if (is.matrix(x) || is.data.frame(x)) 
        x = listm(x)
    con = con2way(J, K)$conAB
    es = NULL
    for (j in 1:ncol(con)) {
        flag = (con[, j] != 0)
        es[j] = esI(x[flag], tr = tr, nboot = nboot, SEED = SEED)$Effect.Size
    }
    list(Effect.Sizes = es, contrast.coef = con)
  }

musto101/wilcox_R documentation built on May 23, 2019, 10:52 a.m.