npcrs1: NP Control Charts under Repetitive Sampling with single...

Description Usage Arguments Value Author(s) References Examples

View source: R/npcrs1.R

Description

Calculates Average Sample Numbers (ASN), Average Run Length (ARL1) and value of k for NP control charts under repetitive sampling as given in Aslam et al.(2014)

Usage

1
2
3
## Default S3 method:
npcrs1(.n, .p0, .f, .ssize = NULL, .k = NULL,
  .kr = NULL)

Arguments

.n

Sample Size

.p0

probability that process is in control

.f

Size of the Shift

.ssize

Number of samples with replacement at each iteration

.k

Positive Constant

.kr

Random Positive Constant

Value

ARL0, ARL1 and K

Author(s)

  1. Muhammad Yaseen (myaseen208@gmail.com)

  2. Muhammad Aslam (aslam_ravian@hotmail.com)

  3. Sami Ullah (samiullahuos@gmail.com)

  4. Muhammad Azam (mazam@uvas.edu.pk)

  5. Chi-Hyuck Jun (chjun@postech.ac.kr)

  6. Muhammad Kashif (mkashif@uaf.edu.pk)

References

Aslam, M., Azam, M. and Jun, C. (2014). New Attributes and Variables Control Charts under Repetitive Sampling. Industrial Engineering & Management Systems. 13(1):101-106.

Examples

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
library(magrittr)
npcrs1(
  .n     = 60
, .p0    = 0.10
, .f     = 0.10
, .k     = 2.6432
)


npcrs1(
  .n     = 60
, .p0    = 0.10
, .f     = 0.10
, .ssize = 1000
, .kr    = 4
)

qccrs documentation built on May 1, 2019, 10:20 p.m.