plot.mqcs | R Documentation |
Generic function for plotting Multivarite charts of object of class 'mqcs' to perform statistical quality control.
## S3 method for class 'mqcs'
plot(x, title, subtitle, xlab, ylab, ylim, ...)
## S3 method for class 'mqcs.t2'
plot(
x,
title = NULL,
subtitle = NULL,
xlab = NULL,
ylab = NULL,
ylim = NULL,
...
)
## S3 method for class 'mqcs.mcusum'
plot(
x,
title = NULL,
subtitle = NULL,
xlab = NULL,
ylab = NULL,
ylim = NULL,
...
)
## S3 method for class 'mqcs.mewma'
plot(
x,
title = NULL,
subtitle = NULL,
xlab = NULL,
ylab = NULL,
ylim = NULL,
...
)
x |
An Object of class 'mqcs' (Multivarite Quality Control Statical) |
title |
An overall title for the plot. |
subtitle |
A sub title for the plot. |
xlab |
A title for the 'x' axis. |
ylab |
A title for the 'y' axis. |
ylim |
The 'y' limits of the plot. |
... |
Arguments to be passed to or from methods. |
## Not run:
##
## Continuous data
##
data(dowel1)
data.mqcd <- mqcd(dowel1)
res.mqcs <- mqcs.mcusum(data.mqcd)
plot(res.mqcs, title =" MCUSUM Control Chart ", subtitle="Database dowel1",
xlab = "Observations", ylab = "MCUSUM", ylim = c(-1,6.5))
res1.mqcs <- mqcs.mewma(data.mqcd)
plot(res1.mqcs, title =" MEWMA Control Chart", subtitle="Database dowel1",
xlab = "Observations", ylab = "MEWMA", ylim = c(-1,10))
res2.mqcs <- mqcs.t2(data.mqcd)
plot(res2.mqcs, title =" Hotelling Control Chart",subtitle="Database dowel1",
xlab = "Observations", ylab = "T2 Hotelling", ylim = c(-1,14))
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.