errfun:

Usage Arguments Examples

Usage

1
errfun(yhat, y, error = sqfun)

Arguments

yhat
y
error

Examples

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
##---- 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 (yhat, y, error = sqfun) 
{
    ymat <- matrix(y, nrow(yhat), ncol(yhat))
    blob <- yhat - ymat
    errfun <- error(blob)
    errfun
  }

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