mstate.control {qcr}R Documentation

Multivariate process state

Description

This function removes observations from the sample which violates the rules of a process under control

Usage

mstate.control(x)

Arguments

x

Object mqcd (Multivariate Quality Control Statistical)

control

a logical value indicating whether the initial sample comes from a process under control.

Examples


##
##  Continuous data 
##
library(qcr)
set.seed(356)
x <- matrix(rnorm(66),ncol=3)
x <- rbind(x,matrix(rexp(66,100),ncol=3))
dim(x)
x <-mqcd(x)
str(x)
x <-mqcs.mewma(x)
str(x)
plot(x)
data.mqcs <- mstate.control(x)
x <-mqcs.mewma(data.mqcs)
plot(x)

[Package qcr version 1.4 Index]