xrs: Xbar Control Charts Under Repetitive Sampling

Description Usage Arguments Value Author(s) References Examples

View source: R/xrs.R

Description

Calculates the Average Sample Number and Average Run Length as given in Aslam et al. (2014)

Usage

1
2
3
4
xrs(.c, .n, .k1, .k2)

## Default S3 method:
xrs(.c, .n, .k1, .k2)

Arguments

.c

Size of the Shift

.n

Sample Size

.k1

Positive Integer

.k2

Positive Integer

Value

Average Sample Number (ASN) and Average Run Length (ARL1) for xbar control charts under repetitive sampling

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. 1(13):101-106.

Examples

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
library(magrittr)
library(purrr)

c(0.0, 0.1, 0.20, 0.3, 0.4, 0.5, 1.0, 1.5, 2, 3) %>%
purrr::map(
function(x) 
    xrs(
        .c     = x
      , .n     = 10
      , .k1    = 2.9301
      , .k2    = 0.9825))

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

Related to xrs in qccrs...