Hola Martin! Necesitas en la linea de comandos o consola de R install.packages("qcc"), y en tu código insertar library(qcc) library(qcc) n <- c(rep(50,5), rep(100,5), rep(25, 5)) # generate randomly the number of successes x <- rbinom(length(n), n, 0.2) par(mfrow=c(1,2)) # plot the control chart with variable limits qcc(x, type="p", size=n) # plot the standardized control chart qcc(x, type="np", size=n) [image: Martin Vidalon.png] *ANED ESQUERRA ARGUELLES* *_______________________________* "Without data, you're just another person with an opinion." ------------ próxima parte ------------ Se ha borrado un adjunto en formato HTML... URL: <https://stat.ethz.ch/pipermail/r-help-es/attachments/20190821/8d7ad4c8/attachment-0001.html> ------------ próxima parte ------------ A non-text attachment was scrubbed... Name: Martin Vidalon.png Type: image/png Size: 7491 bytes Desc: no disponible URL: <https://stat.ethz.ch/pipermail/r-help-es/attachments/20190821/8d7ad4c8/attachment-0001.png>