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