rmblo:

Usage Arguments Examples

Usage

1
rmblo(x, y)

Arguments

x
y

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) 
{
    x = as.matrix(x)
    p = ncol(x)
    p1 = p + 1
    xy = elimna(cbind(x, y))
    x = xy[, 1:p]
    y = xy[, p1]
    temp1 = reglev(x, y, plotit = FALSE)
    ad1 = c(temp1$levpoints, temp1$regout)
    flag1 = duplicated(ad1)
    if (sum(flag1) > 0) {
        flag1 = ad1[flag1]
        x = as.matrix(x)
        x1 = x[-flag1, ]
        y1 = y[-flag1]
        xy = cbind(x1, y1)
    }
    list(x = xy[, 1:p], y = xy[, p1])
  }

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