Re: [R] problems with SPC charts in R

2010-02-11 Thread vikrant
Dear Bart, According to your suggestion I wrote to maintainer of the package and the reply which I got is as follows:- "You shouldn't use R charts for monitoring dispersion using sample sizes larger than 20, and for sample sizes greater than 25 you get an error. From theory, R chart used t

Re: [R] problems with SPC charts in R

2010-02-06 Thread Bart Joosen
It looks like there is an NA created, and then used to calculate stdev. But it's inside function, and these seems all wrapped functions, where one function calls another, which calls another, which calls . I suggest you contact the maintainer of the package, send him the data and your error. T

Re: [R] problems with SPC charts in R

2010-02-05 Thread Peter Ehlers
I don't really know qcc, but it seems to me that you might have to provide information about within-group variability. But maybe I'm completely out to lunch on this. -Peter Ehlers vikrant wrote: Thanks Bart and Peter for your help and the example is working for c chart as well withut any error

Re: [R] problems with SPC charts in R

2010-02-04 Thread vikrant
Thanks Bart and Peter for your help and the example is working for c chart as well withut any error. But when I am plotting the R chart i am still getting the following error. Error in limits.R(center = 62614.0571428571, std.dev = NA_real_, sizes = c(1000L, : group size must be less than 51 when

Re: [R] problems with SPC charts in R

2010-02-04 Thread Bart Joosen
I'm sorry, I'm doing this in my spare time, hadn't time during the day. But I tried your example, and didn't get the error. If you get the error with your example (with the data you had sent to this list), then I think Peter is right, and it has something to do with margins you had set. Try to st

Re: [R] problems with SPC charts in R

2010-02-04 Thread Bart Joosen
I'm sorry, I'm doing this in my spare time, hadn't time during the day. But I tried your example, and didn't get the error. If you get the error with your example (with the data you had sent to this list), then I think Peter is right, and it has something to do with margins you had set. Try to st

Re: [R] problems with SPC charts in R

2010-02-04 Thread Peter Ehlers
I suspect that you may have set qcc.options("cex") to too large a value. Try lowering it with qcc.options(cex=whatever) -Peter Ehlers vikrant wrote: ok. I will give the example for which i m getting this error. The data for plotting R chart and S chart is very huge. SO i will take example for

Re: [R] problems with SPC charts in R

2010-02-03 Thread vikrant
ok. I will give the example for which i m getting this error. The data for plotting R chart and S chart is very huge. SO i will take example for plotting C chart. Data is a follows :- sample D sizetrial 1 11 1000TRUE 2 11 1000TRUE 3 13 1000T

Re: [R] problems with SPC charts in R

2010-02-03 Thread Bart Joosen
Please add an reproducible example, so that we can see where it goes wrong. Maybe the error is raised by faulted data? Bart -- View this message in context: http://n4.nabble.com/problems-with-SPC-charts-in-R-tp1467901p1468441.html Sent from the R help mailing list archive at Nabble.com. __