I can plot an EWMA control chart with 3 sigma limits (nsigmas=3). Can anyone help me with plotting additional control lines on the same chart such as 1 and 2 sigma limits?
The only way I can think is to create separate qcc objects with each of these limits, somehow extract their values, and then plot them onto the EWMA chart. Surely there's a simpler way?
library(qcc)
LRR <- c(-0.1, -0.1, -0.09, -0.07, -0.27, -0.18,
-0.8, -0.86, -0.82, 0.01, 0.02)
q1 <- ewma(LRR, center = -0.3, std.dev = 0.1 , lambda = 0.2,plot=F)
plot(q1, add.stats = F, label.limits = c("LCL", "UCL"),
xlab="Group", ylab= "LRR", ylim=c(-1.0,0.5),nsigmas = 3)
Now I'd just like to add 1 & 2 sigma control limits.
Thanks.

Thank you so much Paul. Your answer is certainly more sophisticated than mine was!
I ended up solving it by;
'escalc' to find the LRR, then
est = 'estimate' from this rma
Then using plot