[R] help on qcc
dwinsemius at comcast.net
Mon Dec 3 15:24:12 CET 2007
Thorsten Muehge <MUEHGE at de.ibm.com> wrote in
news:OF7566C5AF.C84AC5C2-ONC12573A6.0036ACCB-C12573A6.003D04FA at de.ibm.com
> Hello R Experts,
> I started to work with the qcc package and it wprks quite nicely.
> Heres My Code:
> n <-
> 54,32,117,19,32,9,11,13,31,27,33,44,28) x <-
> qcc(x,type="p",size=n,title = "p-Charts Failed data Transmission");
> I see the numbers beyond limits and the number of violating runs.
> How can I switch of the number of violating runs?
> How can I specify the number of violating runs?
I am not an experienced user of qcc, (nor am I an expert), but I doubt
that very many of the other readers of r-help are users of qcc either.
Looking at the code of qcc and then at help for the package, the number
of violating runs is determined through the shewhart.rules() function and
the gcc.options$("run.length") argument. It looks as though you could
send arguments to the rules= parameter when calling qcc() that would
override the default. Looking further at the package documantation and
the qcc.options() function my suggestion (which I tested and seems to
have the effect I believe you requested) would be to try something like:
qcc.options("run.length"=5) #before the qcc(...) invocation
....and if you wanted to "turn it off", then set "run.length" to
something impossibly high.
qcc.options("run.length"=1000) # number of violating runs becomes zero
If that does not work, then another method for getting help with a
package is to send an email to the package maintainer.
More information about the R-help