standm:

Usage Arguments Examples

Usage

1
standm(x, locfun = lloc, est = mean, scat = var, ...)

Arguments

x
locfun
est
scat
...

Examples

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
##---- 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, locfun = lloc, est = mean, scat = var, ...) 
{
    x = elimna(x)
    x = as.matrix(x)
    m1 = lloc(x, est = est)
    v1 = apply(x, 2, scat)
    p = ncol(x)
    for (j in 1:p) x[, j] = (x[, j] - m1[j])/sqrt(v1[j])
    x
  }

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