On 08.02.2013 23:37, Steven LeBlanc wrote:
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?

Watch out for NA, NaN, Inf or -Inf values in p3.18$s ?

Uwe Ligges



Thanks & Best Regards,
Steven





        [[alternative HTML version deleted]]

______________________________________________
R-help@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.


______________________________________________
R-help@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.

Reply via email to