huber {DIME}R Documentation

Huber's weight function

Description

A weight functions used to downweigh outliers.

Usage

huber(input, co, shape = c("full", "lower", "upper"))

Arguments

input

an R list of vector of normalized mean (log intensities).

co

cutoff used in determining weights.

shape

parameter determining which outliers are weighted: "full" - both values above and below -threshold are downweighted;\ "lower" - only values below threshold are downweighted; \ "upper" - only values above threshold are downweighted.

Value

a vector of weights.

Author(s)

Dustin Potter

References

Huber, P. J. (1981) Robust Statistics. John Wiley & Sons


[Package DIME version 1.3.0 Index]