mstate.control: Multivariate process state

View source: R/mqcs.R

mstate.controlR 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)

mflores72000/qcr documentation built on July 1, 2023, 9:17 p.m.