Skip to contents

An S4 class to store the result of outlier detection.

Slots

.Data

A logical matrix.

codes

A character vector to store the laboratory codes (unique identifiers).

samples

A character vector to store the sample identifiers (allows duplicates in case of repeated measurements).

groups

A character vector to store the group names (if any).

distances

A numeric matrix giving the squared Mahalanobis distance.

limit

A numeric value giving the cut-off value used for outlier detection (quantile of the Chi-squared distribution).

robust

An logical scalar: were robust estimators used?

dof

A (non-negative) numeric value giving the degrees of freedom.

Note

These classes inherit from logical.

Coerce

In the code snippets below, x is an OutlierIndex object.

as.data.frame(x)

Coerces to a data.frame.

Subset

In the code snippets below, x is an OutlierIndex object.

x[[i]]

Extract a part of an object (see [[).

Author

N. Frerebeau