print {mxcc} | R Documentation |
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 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 |
... |
Additional arguments (currently not used). |
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 (formxspc
).For summary objects (
summary.mxrpc
,summary.mxspc
), control chart parameters and statistical summaries are displayed as formatted data frames.
Value
These functions return their input invisibly 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))