Learn R Programming

mxcc (version 0.0.4)

print: Print Method for Control Chart Objects and Their Summaries

Description

Print methods to display key parameters and summaries for control charts generated using mxrpc and mxspc, as well as their corresponding summary objects.

Usage

# S3 method for mxrpc
print(x, ...)
# S3 method for mxspc
print(x, ...)
# S3 method for summary.mxrpc
print(x, ...)
# S3 method for summary.mxspc
print(x, ...)

Value

These functions return their input invisibly after printing the relevant summaries to the console.

Arguments

x

An object of class mxrpc, mxspc, summary.mxrpc, or summary.mxspc.

...

Additional arguments (currently not used).

Author

Zahid Khan, Zsolt T. Kosztyan

Details

These print methods provide structured output for:

  • Control chart parameters: subgroup size, sample size, control limits (LCL, CL, UCL or PCL), estimated sigma, limit type, and chart type.

  • Summary statistics for the plotting statistic (e.g., V values).

  • Summary of either real data (for mxrpc) or simulated data (for mxspc).

  • For summary objects (summary.mxrpc, summary.mxspc), control chart parameters and statistical summaries are displayed as formatted data frames.

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>

Examples

Run this code
t1 <- mxspc(m = 20, n = 5, alpha = 0.004, sigma = 0.5, limit = "KCL")
print(t1)
print(summary(t1))

Run the code above in your browser using DataLab