Questions tagged [control-charts]
16 questions
8
votes
1 answer
How do I use ggrepepl to avoid all geoms?
I'm trying to use ggrepel to create text labels for charts that I'm working on using R and ggplot2. I'm finding it very useful for repelling away from a single point, but I often run into a problem where it overlaps some other plot objects.
I'm…

rockcop
- 126
- 4
3
votes
1 answer
Hotelling Multivariate Control Charts
At my work we do a lot of control charts for n variables for monitoring multivariate measurement processes. I am trying to implement Hotelling multivariate control charts so we can consider the correlation between variables and assess when a sample…

Cris
- 325
- 1
- 5
- 20
1
vote
1 answer
How to change title of IQCC::cchart.p function output?
I am using cchart.p function of IQCC package to generate p-charts, but title of the graph is "Standardized p-chart (phase II)".
I want to change the title and axes label names.
Code tried:
library(IQCC)
#get arguments
args <-…

henna
- 368
- 3
- 13
0
votes
0 answers
Is it possible to plot the control chart on the matrix of Image after foreground/background approach using OTSU's approach?
The image is segmented using OTSU's approach in global threshold. The segmented Image is exported back into MATLAB workspace as array's with foreground/Background Values. I'm trying to plot control charts for the array. Is it possible to have such…
0
votes
0 answers
mult.chart returns error "system is exactly singular: 0\n"
I am trying to run Multivariate Statistical Process Control using MSQC package.
My data has corelated variables (temperature readings), which remain corelated most of the time when the process is in control but may not remain that when when…

ok1more
- 779
- 6
- 15
0
votes
1 answer
How can I fix the while loop problem in R?
I wrote the code as like below, and sometime it gets proper value but sometime it could not give me the value for a long time.
I guess it looks like it has infinite problem with while function but I couldn't get it how to fix it.
I've already tried…

Joseph Kim
- 69
- 1
- 1
- 7
0
votes
0 answers
Find upper and lower limit in S-chart
Have a dataset, with individual standard deviations in python. How to I find the upper and lower control limits for these (in S-chart)?

Elias
- 3
- 3
0
votes
2 answers
Checking if n elements in an array are increasing
I have written a code for SPC and I am attempting to highlight certain out of control runs.
So I was wondering if there was a way to pull out n(in my case 7) amount of increasing elements in an array so I can index with with the color red when I go…

Keaton B
- 1
0
votes
1 answer
How does it works the argument run.length of the fuction qcc.options
I've been trying to understand what is the real use of this argument. In the qcc documentation it writes "the maximum value of a run before to signal a point as out of control" but that concept really confuses me. I have notice that default value…
0
votes
1 answer
Not being able to get column values from sql in R shiny for particular date
I am newbie in R
I am trying to plot control chart in Shiny using sql database I created.
In below code I am able to get the sql data as per date.
but I am not being able to access the column values for which I have to plot the graph.
Following is…

Pratik Parwatwar
- 3
- 2
0
votes
0 answers
qichart and plotly making list instead of chart?
I am currently following a tutorial to graph some data using qichart2. When I input the code, it creates a List instead of a graph. The same thing happened to me previously when I was trying to follow a plotly tutorial.
ControlChart <- qic(Force,
…

vb66
- 353
- 3
- 14
0
votes
1 answer
How to extract or calcualte special cause variations shown in a qcc chart (xmr, spc)
I created a qcc chart in R and would like to hold the special cause variations from the qcc chart in variables for use else where.
I have tried to extract the special causes for chart 'Number beyond limits' and 'Number violating runs' with no…

henry
- 31
- 3
0
votes
2 answers
How to code rule number 4 from Western Electric rule's for quality control charts
I am new to statistics. I have a problem at hand for which I need to code all the 4 rules of Western Electric rules for Quality control. I have been able to code the first one and second with the help of my peer, could anyone help me out in writing…

Shivanshu
- 1
- 2
0
votes
1 answer
qicharts2 Control Limits in R
I am using the qicharts2() package to construct a p-chart in R. It is necessary to have a variable UCL / LCL, but the way the qic() natively constructs this is not what I'm looking for. See the below two images:
What qic() produces:
What I need it…

rsh52
- 67
- 7
0
votes
1 answer
How to plot real-time control charts on a web page using MySQL data and PHP?
I have real-time humidity and temperature data saved in a MySQL database. Now, I want to create a web page to monitor real time weather data in control charts. How do I plot real-time control charts on a web page using MySQL data and PHP?

Uditha Samarakoon
- 11
- 1