Making changes on the control chart graph in R (qic function)

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

Making changes on the control chart graph in R (qic function)

Rdatascientist

How can I force R to show all the data points on the x-axis of the control chart (from qic function)? Also how can I add data labels to the data points on the control chart?

Thanks

Here is my data and the 'qic' function I used to create the graph:
y<- c(700,717,625,730,650,728,674,620,749,777,800,580,550,679,737,756,718,704,759,743,788,610,823,799,732,754,743,684,454,688,812,820,771,866,716)
d <- data.frame(week = seq.Date(as.Date('2016-06-06'),by ='week',length = 35,cex=0.25),y)
View(d)
library(qicharts)
library(labeling)
qic(y, x = week, data = d[1:24,], chart ='i',main='Statistical Process Control Chart',xlab='Week-Year', ylab='y')