Dear Renata,

In your particular case, something like this should do the job:

res=qcc(MDI, type = "xbar.one")
names(res)
res$limits

A general approach (using the example in ?qcc) could be:

require(qcc)
data(pistonrings)
attach(pistonrings)
diameter <- qcc.groups(diameter, sample)
ex = qcc(diameter[1:25,], type="xbar")
names(ex)
 [1] "call"       "data.name"  "data"       "type"       "statistics"
"sizes"      "center"
 [8] "std.dev"    "nsigmas"    "limits"     "violations"

Since you need the limits, then

ex$limits
 LCL      UCL
 73.98733 74.01876

contains what you're looking for.


HTH,

Jorge



On Mon, Sep 1, 2008 at 9:14 PM, Renata Mara Schneckenberg Wowk <
renata@softall.com.br> wrote:

> Hi Gents,
>
>
>
> I need to get the control limits from qcc function.
>
>
>
> As follows:
>
>
>
> qcc(MDI, type = "xbar.one")
>
>
>
> Call:
>
> qcc(data = MDI, type = "xbar.one")
>
>
>
> xbar.one chart for MDI
>
>
>
> Summary of group statistics:
>
>   Min. 1st Qu.  Median    Mean 3rd Qu.    Max.
>
>  0.3266  0.4249  0.4371  0.4333  0.4451  0.4858
>
>
>
> Group sample size:  1
>
> Number of groups:  383
>
> Center of group statistics:  0.4332557
>
> Standard deviation:  0.01520659
>
>
>
> Control limits:
>
>      LCL       UCL
>
>  0.387636 0.4788755
>
>
>
> I want to get LCL and UCL. It is possible ?
>
>
>
> Thanks in advance,
>
>
>
> Renata
>
>
>
>
>        [[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.
>

	[[alternative HTML version deleted]]

