Learn R Programming

mxcc (version 0.0.4)

mxrpc: V chart and VSQ chart Construction for Real Process Control

Description

The mxrpc function constructs control limits for the V and VSQ control charts using real data. It allows the user to specify the value of alpha, the type of control limit (Probability Limit Control Chart or K-Sigma Control Chart), and the type of control chart (V or VSQ). The function provides a brief summary of control chart parameters.

Usage

mxrpc(data, alpha = 0.0027, limit = "PCL", chart = "V", summary = FALSE)

Value

An invisible list containing the following components:

  • v: A vector of plotting statistics.

  • data: A real input data frame

  • LCL: Lower control limit.

  • CL: Central line.

  • UCL: Upper control limit.

  • m: Number of subgroups.

  • n: Sample size per subgroup.

  • sig: Estimated sigma value.

  • limit: Type of control limit used.

  • chart: Type of control chart constructed.

If summary = TRUE, the function also prints a textual summary of contructed Maxwell control chart.

Arguments

data

A data frame containing real-world observations for which the control charts will be constructed.

alpha

The false alarm probability for control limit calculation. Default is alpha = 0.0027.

limit

The type of control limit to be used: either "PCL" for Probability Limit Control Chart or "KCL" for K-Sigma Control Chart. Default is limit = "PCL".

chart

The type of control chart to construct: either "V" for V chart or "VSQ" for VSQ chart. Default is chart = "V".

summary

Logical value indicating whether to display a short summary of control chart parameters. Default is summary = FALSE.

Author

Zahid Khan

Details

This function takes a real data set and generates control charts (V or VSQ) based on the specified control limit type (PCL or KCL). When summary = TRUE, the function outputs a brief summary of the control chart parameters, including the control limits, central line, and the values used for constructing the chart. For a more comprehensive summary and graphical display of the selected chart, users are referred to the summary() and plot()functions.

References

Hossain, M.P., Omar, M.H. and Riaz, M. (2017) "New V control chart for the Maxwell distribution". Journal of Statistical Computation and Simulation, 87(3), pp.594-606. <doi:10.1080/00949655.2016.1222391>

Shah, F., Khan, Z., Aslam, M. and Kadry, S. (2021) "Statistical Development of the VSQ‐Control Chart for Extreme Data with an Application to the Carbon Fiber Industry". Mathematical Problems in Engineering, 2021(1), p.9766986. <doi:10.1155/2021/9766986>

See Also

Examples

Run this code
mxrpc(data=strength_data, alpha = 0.0027, limit = "PCL", chart = "VSQ",summary=TRUE)

Run the code above in your browser using DataLab