draw_process_behavior_chart_limits: Draw Process Behavior Chart Limits

View source: R/draw_process_behavior_chart_limits.R

draw_process_behavior_chart_limitsR Documentation

Draw Process Behavior Chart Limits

Description

Draws limits (LCL, UCL) and grand average for a Process Behavior Chart

Usage

draw_process_behavior_chart_limits(
  data,
  x_var,
  avg_line_color = "grey60",
  avg_line_alpha = 0.8,
  avg_line_width = 1,
  limits_color = "red",
  limits_alpha = 0.5,
  limits_width = 1
)

Arguments

data

Input dataset to be plotted (required)

x_var

X variable to be plotted on X axis (required)

avg_line_color

Set the color of the grand average line. By default, it is set to "grey60".

avg_line_alpha

Set the transparency of the grand average line. By default, it is set to 0.8.

avg_line_width

Set the line width of the grand average line. y default, it is set to 1.

limits_color

Set the color of the natural process limits (control limits). By default, it is set to "red".

limits_alpha

Set the transparency of the natural process limits (control limits). By default, it is set to 0.5.

limits_width

Set the line width of the natural process limits (control limits). y default, it is set to 1.

Value

A ggplot object


gaboraszabo/sherlock documentation built on Dec. 4, 2024, 12:18 a.m.