winvarN:

Usage Arguments Examples

Usage

1
winvarN(x, tr = 0.2)

Arguments

x
tr

Examples

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
##---- 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, tr = 0.2) 
{
    x = elimna(x)
    library(MASS)
    cterm = NULL
    if (tr == 0) 
        cterm = 1
    if (tr == 0.1) 
        cterm = 0.6786546
    if (tr == 0.2) 
        cterm = 0.4120867
    if (is.null(cterm)) 
        cterm = area(dnormvar, qnorm(tr), qnorm(1 - tr)) + 2 * 
            (qnorm(tr)^2) * tr
    bot = winvar(x, tr = tr)/cterm
    bot
  }

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