View source: R/monitoringStat.R
monitoringStat | R Documentation |
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.
monitoringStat(img, model, type, stat = c("ad", "bp"), w, cl = NULL, verbose = FALSE)
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 |
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 |
Anh Bui
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.
surfacemodel, sms, dataPrep
# run the example in the help file of climit() ?climit
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.