View source: R/draw_process_behavior_chart_limits.R
draw_process_behavior_chart_limits | R Documentation |
Draws limits (LCL, UCL) and grand average for a Process Behavior Chart
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
)
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. |
A ggplot object
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.