Generic function for plotting Multivarite charts of object of class 'mqcs' to perform statistical quality control.
Usage
# S3 method for mqcs
plot(x, title, subtitle, xlab, ylab, ylim, ...)
# S3 method for mqcs.t2
plot(
x,
title = NULL,
subtitle = NULL,
xlab = NULL,
ylab = NULL,
ylim = NULL,
...
)
# S3 method for mqcs.mcusum
plot(
x,
title = NULL,
subtitle = NULL,
xlab = NULL,
ylab = NULL,
ylim = NULL,
...
)
# S3 method for mqcs.mewma
plot(
x,
title = NULL,
subtitle = NULL,
xlab = NULL,
ylab = NULL,
ylim = NULL,
...
)
Arguments
- 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.
Examples
if (FALSE) {
##
## 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))}