plot function

Plot a quality control chart

Plot a quality control chart

Plot a cgrcusum, bkcusum, bercusum or funnelplot chart, or a list containing a combination of 'bercusum', 'bkcusum' and 'cgrcusum' charts.

## 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 cgrcusum, bkcusum or bercusum
  • ...: Further plotting parameters
  • percentage: Should output be shown in percentages? Default is TRUE.
  • unit_label: Should unit labels be displayed next to detected units in the funnel plot? Default is TRUE.
  • label_size: Size of the labels when unit_label is TRUE. Default is 3.
  • col_fill: Single fill colour for the prediction intervals in the funnel plot. In any format that col2rgb accepts. Default is "blue".

Returns

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

See Also

cgr_cusum, bk_cusum, bernoulli_cusum, funnel_plot

Author(s)

Daniel Gomon