Greets,
My data looks like:
> p3.18
s xbar subgroup
1 0.84 12.2 1
2 1.64 11.2 2
3 2.07 10.6 3
4 2.49 12.2 4
5 0.84 11.2 5
...
Using the command
> qcc(p3.18$xbar,type="xbar",sizes=5,center=mean(p3.18$xbar),std.dev=mean(p3.18$s)/0.94,title="X-bar Chart for Paper Sheet Length Data")
I get the x-bar chart I expect.
However, using the command
> qcc(p3.18$s,type="S",sizes=5,center=mean(p3.18$s),std.dev=mean(p3.18$s)/0.94,title="S Chart for Paper Sheet Length Data")
I get the following error:
Error in plot.window(...) : need finite 'ylim' values
It seems reasonable that if the first command produces correct results, so should the second. What am I doing wrong?
Thanks & Best Regards,
Steven
[[alternative HTML version deleted]]