reg2cimcp:

Usage Arguments Examples

Usage

1
reg2cimcp(x, y, regfun = tsreg, nboot = 599, alpha = 0.05, SEED = TRUE, xout = FALSE, outfun = out, ...)

Arguments

x
y
regfun
nboot
alpha
SEED
xout
outfun
...

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
##---- 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, SEED = TRUE, 
    xout = FALSE, outfun = out, ...) 
{
    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 = reg2ci(x[[j]], y[[j]], x[[k]], y[[k]], 
                  regfun = regfun, nboot = nboot, alpha = alpha, 
                  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.