Control chart to monitor sample mean of normal observations
Usage
chart_n(data, alpha = 0.0027, mu = NULL, sd = NULL)
Arguments
- data
The data points (matrix)
- alpha
The significance level for control limits
- mu
The mean of the distribution
- sd
The shape parameter (standard deviation)
Value
An ggplot2 object with the control limits plot
Examples
# data <- r_n(500, 5, 1, 1.7)
# chart_n(data, 0.0027, 1, 1.7)