Displaying 2 results from an estimated 2 matches for "adjacentobservations".
2010 Jan 13
1
plotting moving range control chart
I have been having the same problem as poster Hodgess, below. It appears
that her question was never answered, so I would like to share a solution
with the community.
The problem is the (apparent?) inability to produce moving range process
behavior (a.k.a. "control") charts with individuals data in the package
"qcc" (v. 2.0). I have also struggled with the same limitation in
2010 Aug 20
0
plotting moving range control chart with qcc. . .
...mer paint
viscosity", xlab = "Batch",
ylab = "Value (viscosity units)")
setupBatches <- setupBatches[-1]
numberOfBatches <- length(observation)
# intermediate matrix to coax qcc into plotting a moving range chart
#
# observations x[i], x[i + 1] appear in adjacentObservations[i]
# whose range equals the moving range |x[[i]] - x[[i + 1]]|
#
adjacentObservations <- matrix(nrow = length(observation) - 1, ncol =
2) adjacentObservations[,1] <- observation[1,1:numberOfBatches - 1];
adjacentObservations[,2] <- observation[1,2:numberOfBatches];
# plot MR chart
obj &...