plot.cgrcusum {success} | R Documentation |
Plot a quality control chart
Description
Plot a cgrcusum
, bkcusum
,
bercusum
or funnelplot
chart, or a list containing a combination of
'bercusum'
, 'bkcusum'
and 'cgrcusum'
charts.
Usage
## S3 method for class 'cgrcusum'
plot(x, h, ...)
## S3 method for class 'bkcusum'
plot(x, h, ...)
## S3 method for class 'funnelplot'
plot(x, percentage = TRUE, unit_label = TRUE,
label_size = 3, col_fill = "blue", ...)
## S3 method for class 'bercusum'
plot(x, h = x$h, ...)
Arguments
x |
Chart to plot |
h |
Control limit to display for |
... |
Further plotting parameters |
percentage |
Should output be shown in percentages? Default is |
unit_label |
Should unit labels be displayed next to detected units in the funnel plot?
Default is |
label_size |
Size of the labels when |
col_fill |
Single fill colour for the prediction intervals in the funnel plot.
In any format that |
Value
A plot of the associated chart is displayed in the current graphics device.
Methods (by class)
-
plot(cgrcusum)
: Plot a CGR-CUSUM -
plot(bkcusum)
: Plot a BK-CUSUM -
plot(funnelplot)
: Display a funnel plot -
plot(bercusum)
: Plot a Bernoulli CUSUM
Author(s)
Daniel Gomon
See Also
cgr_cusum
, bk_cusum
, bernoulli_cusum
, funnel_plot