anctsmcp:

Usage Arguments Examples

Usage

1
anctsmcp(x, y, regfun = tsreg, nboot = 599, alpha = 0.05, pts = NULL, SEED = TRUE, xout = FALSE, outfun = out, fr1 = 1, fr2 = 1, ...)

Arguments

x
y
regfun
nboot
alpha
pts
SEED
xout
outfun
fr1
fr2
...

Examples

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
##---- 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 (x, y, regfun = tsreg, nboot = 599, alpha = 0.05, pts = NULL, 
    SEED = TRUE, xout = FALSE, outfun = out, fr1 = 1, fr2 = 1, 
    ...) 
{
    if (!is.list(x)) 
        stop("x and y should have list mode")
    J = length(x)
    jcom <- 0
    for (j in 1:J) {
        for (k in 1:J) {
            if (j < k) {
                res = ancts(x[[j]], y[[j]], x[[k]], y[[k]], regfun = regfun, 
                  pts = pts, nboot = nboot, alpha = alpha, fr1 = fr1, 
                  fr2 = fr2, plotit = FALSE, xout = xout, outfun = outfun, 
                  WARN = FALSE, ...)
                print(paste("Group", j, "Group", k))
                print(res)
            }
        }
    }
  }

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