linchk:

Usage Arguments Examples

Usage

1
linchk(x, y, sp, pv = 1, regfun = tsreg, plotit = TRUE, nboot = 599, alpha = 0.05, pr = T)

Arguments

x
y
sp
pv
regfun
plotit
nboot
alpha
pr

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 (x, y, sp, pv = 1, regfun = tsreg, plotit = TRUE, nboot = 599, 
    alpha = 0.05, pr = T) 
{
    x <- as.matrix(x)
    if (pr) 
        print(paste("Splitting data using predictor", pv))
    xx <- x[, pv]
    flag <- (xx <= sp)
    temp <- reg2ci(x[flag, ], y[flag], x[!flag, ], y[!flag], 
        regfun = regfun, plotit = plotit, nboot = nboot, alpha = alpha)
    temp
  }

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