monitoringStat {spc4sts} | R Documentation |
Monitoring Statistic for Stochastic Textured Surfaces
Description
Computes monitoring statistic(s) for local defects (see Bui and Apley 2018a) and/or global changes (see Bui and Apley 2018b) for a given stochastic textured surface image.
Usage
monitoringStat(img, model, type, stat = c("ad", "bp"), w, cl = NULL, verbose = FALSE)
Arguments
img |
the given image in the matrix format. |
model |
the object returned by |
type |
for local defects, |
stat |
for local defects only. The statistic used in the spatial moving statistics. Must be either |
w |
for local defects only. The dimension of the spatial (square) moving window. Must be an odd number >= 3. |
cl |
the object returned by |
verbose |
if set to |
Value
A monitoringStat
object containing the following components:
sms |
a matrix of the SMS values computed for pixels in |
stat |
the |
w |
the |
localStat |
the monitoring statistic for local defects of |
globalStat |
the monitoring statistic for global changes of |
Author(s)
Anh Bui
References
Bui, A.T. and Apley., D.W. (2018a) "A Monitoring and Diagnostic Approach for Stochastic Textured Surfaces", Technometrics, 60, 1-13.
Bui, A.T. and Apley, D.W. (2018b) "Monitoring for changes in the nature of stochastic textured surfaces", Journal of Quality Technology, 50, 363-378.
See Also
Examples
# run the example in the help file of climit()
?climit