u_gr: The u chart control for attributes

Description Usage Arguments Value Author(s) References See Also Examples

Description

Calculates the u control chart for attributes, given a variable sample n and a number of nonconformities u per sample. The plotted values in graph are the average number of nonconformities per unit.

Usage

1
u_gr(U)

Arguments

U

A data frame containing the number d of nonconformities per sample, the sample n can be variable. Note that the variable names must be lowercase letter, say d and n.

Value

in.control

The under control row list for the u chart

out.control

The out of control row list for the u chart

Iteraciones

The number of iterations, in this function always will be the first and the last one

data.0

The original data frame

data.1

Subsetting the data frame with under control rows

bin

The binary values for out of control equal to one and under control equal to zero

Limites de Control Grafica u

The u chart control limits vector

Conclusion del proceso

The same results in a phrase as the bin values

Author(s)

Erick Marroquin

References

Montgomery, D.C. (2005) Introduction to Statistical Quality Control, 5th ed. New York: John Wiley & Sons, ISBN 0-471-65631-3

See Also

p_gr, np_gr, c_gr, P_it, NP_it, C_it, U_it

Examples

1
2

Example output

[1] "Proceso fuera de Control en Grafica U"
$in.control
 [1]  1  2  3  4  5  7  8  9 10 11 12 13 14 15 16 17 18 19 21 22 23 24 25 26

$out.control
[1]  6 20

$Iteraciones
[1] 1

$data.0
    d    n
1  21 1000
2  24 1000
3  16 1000
4  12 1000
5  15 1000
6   5 1000
7  28 1000
8  20 1000
9  31 1000
10 25 1000
11 20 1000
12 24 1000
13 16 1000
14 19 1000
15 10 1000
16 17 1000
17 13 1000
18 22 1000
19 18 1000
20 39 1000
21 30 1000
22 24 1000
23 16 1000
24 19 1000
25 17 1000
26 15 1000

$data.1
 [1] 0.021 0.024 0.016 0.012 0.015 0.028 0.020 0.031 0.025 0.020 0.024 0.016
[13] 0.019 0.010 0.017 0.013 0.022 0.018 0.030 0.024 0.016 0.019 0.017 0.015

$bin
[1] 1

$`Limites de Control Grafica U`
      LCI.u       LCS.u        LC.u 
0.006481447 0.033210861 0.019846154 

$`Conclusion del proceso`
[1] "Proceso fuera de Control en Grafica U"

XRSCC documentation built on May 2, 2019, 5:11 a.m.