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 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".

Value

A plot of the associated chart is displayed in the current graphics device.

Methods (by class)

Author(s)

Daniel Gomon

See Also

cgr_cusum, bk_cusum, bernoulli_cusum, funnel_plot


[Package success version 1.1.0 Index]