c_gr: The c chart control for attributes

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

Description

Calculates the c control chart for attributes, using a sample C of number of nonconformities. The plotted values in graph are the nonconformities number on each sample at a regular time interval when there is not a standard given.

Usage

1

Arguments

C

A data frame or a vector containing the number of nonconformities per sample. Note that the variable name must be the uppercase letter, like D.

Value

in.control

The under control row list for the c chart

out.control

The out of control row list for the c 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 results under control equal to zero

Limites de Control Grafica c

The c 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, u_gr, P_it, NP_it, C_it, U_it

Examples

1
2

Example output

[1] "Proceso fuera de Control en Grafica c"
$in.control
 [1]  1  2  3  4  5  6  7  8  9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25
[26] 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50
[51] 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75
[76] 76 77 78 79 80 81 82 83 85 86 87 88 89

$out.control
[1] 84 90

$Iteraciones
[1] 1

$data.0
    c
1   8
2   4
3   9
4  11
5   9
6   1
7   9
8   7
9   3
10  5
11  7
12  0
13  2
14  7
15  0
16  4
17  8
18  8
19  2
20  6
21  6
22  6
23  8
24  9
25  3
26  6
27  9
28  7
29  4
30  4
31  4
32  5
33 12
34  4
35  1
36  1
37  1
38  7
39  4
40  1
41  3
42  7
43  4
44  6
45  4
46  1
47  5
48  3
49  6
50  9
51  7
52  1
53  2
54  0
55  4
56  6
57 10
58  9
59  1
60  3
61  0
62  8
63  5
64  7
65  7
66  9
67  6
68  0
69  0
70  3
71  8
72  4
73  8
74  6
75  4
76  8
77  3
78  7
79  1
80  9
81  7
82  4
83  5
84 13
85  2
86  6
87  6
88  4
89  9
90 13

$data.1
 [1]  8  4  9 11  9  1  9  7  3  5  7  0  2  7  0  4  8  8  2  6  6  6  8  9  3
[26]  6  9  7  4  4  4  5 12  4  1  1  1  7  4  1  3  7  4  6  4  1  5  3  6  9
[51]  7  1  2  0  4  6 10  9  1  3  0  8  5  7  7  9  6  0  0  3  8  4  8  6  4
[76]  8  3  7  1  9  7  4  5  2  6  6  4  9

$bin
[1] 1

$`Limites de Control Grafica c`
    LCI.c     LCS.c      LC.p 
 0.000000 12.169802  5.277778 

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

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