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