removeind {IQCC}R Documentation

Remove an undesirable observation.

Description

This function removes an undesirable data that might be out of control in your data set. It is used at Hotelling T2 control charts with individual observations for phase I.

Usage

removeind(datum, i)

Arguments

datum The data set. Should be a matrix.
i The index in the matrix of the data to be removed.

Value

Return the new data set without the observation that was removed.

Author(s)

Daniela R. Recchia, Emanuel P. Barbosa

See Also

removesub

Examples

mu<-c(5.682,88.22)
Sigma<-symMatrix(c(3.770,-5.495,13.53),2)
datum<-dataindI(50,mu,Sigma,2)
# Removing the observation 43 from the data set "datum" and creating a new one:
datum<-removeind(datum,43)

[Package IQCC version 1.0 Index]