mstate.control | R Documentation |
This function removes observations from the sample which violates the rules of a process under control.
mstate.control(x)
x |
Object mqcd (Multivariate Quality Control Statistical) |
control |
A logical value indicating whether the initial sample comes from a process under control. |
##
## 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)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.