Learn R Programming

robustbase (version 0.2-8)

summarizeRobWeights: Print a Nice "summary" of Robustness Weights

Description

Print a nice summary about a numeric vector of robustness weights. Observations with weights around zero are marked as outliers.

Usage

summarizeRobWeights(w, digits = getOption("digits"),
                    header = "Robustness weights:",
                    eps = 1e-04, eps1 = eps, ...)

Arguments

w
numeric vector of robustness weigths.
digits
digits to be used for printing.
header
string to be printed as header line.
eps
numeric tolerance $\epsilon$: values of w with $\left|w_i\right| < \epsilon/n$ are said to be outliers.
eps1
numeric tolerance: values of w with $\left|1 - w_i\right| < eps1$ are said to have weight ~= 1.
...
potential further arguments, passed to print().

Value

  • none; the function is used for its side effect of printing.

See Also

The summary methods for lmrob and glmrob make use of summarizeRobWeights().