l2plot:

Usage Arguments Examples

Usage

1
l2plot(x1, y1, x2, y2, f = 2/3, SCAT = TRUE, xlab = "x", ylab = "y", eout = FALSE, xout = FALSE, ...)

Arguments

x1
y1
x2
y2
f
SCAT
xlab
ylab
eout
xout
...

Examples

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
##---- 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 (x1, y1, x2, y2, f = 2/3, SCAT = TRUE, xlab = "x", ylab = "y", 
    eout = FALSE, xout = FALSE, ...) 
{
    m <- elimna(cbind(x1, y1))
    x1 <- m[, 1]
    y1 <- m[, 2]
    m <- elimna(cbind(x2, y2))
    x2 <- m[, 1]
    y2 <- m[, 2]
    plot(c(x1, x2), c(y1, y2), xlab = xlab, ylab = ylab)
    lines(lowess(x1, y1, f = f))
    lines(lowess(x2, y2, f = f))
  }

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