print: Print Methods for Control Chart Objects and Their Summaries

print.mxrpcR Documentation

Print Methods for Control Chart Objects and Their Summaries

Description

S3 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 class 'mxrpc'
print(x, ...)
## S3 method for class 'mxspc'
print(x, ...)
## S3 method for class 'summary.mxrpc'
print(x, ...)
## S3 method for class 'summary.mxspc'
print(x, ...)

Arguments

x

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

...

Additional arguments passed to or from other methods.

Details

These print methods provide structured output for:

  • Control chart parameters: subgroup number, 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.

Value

Invisibly returns x after printing the relevant summaries to the console.

Author(s)

Zahid Khan, Zsolt T. Kosztyan

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

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

mxcc documentation built on April 10, 2026, 5:06 p.m.

Related to print in mxcc...