Cap_anal: Function to Compute and Display Process Capability

Description Usage Arguments Author(s) Examples

Description

Computes the process capability of a continuous variable

Usage

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
vectis.cap(data, 
           distribution = "normal",
           USL = NA,
           LSL = NA,
           target = NA,
           main = "Capabilities Analysis",
           sub = "",
           groupsize = 1,
           mrlength = 2,
           alpha = 0.05,
           tol = 5.15,
           unbias_sub = TRUE,
           unbias_overall = FALSE
           density = FALSE,
           binwidth = -1
           plot = TRUE)

Arguments

x

Data values

distribution

Distribution of sampled data. Currently only "normal" is supported.

USL

Upper Spec Limit

LSL

Lower Spec Limit

target

Target

main

Chart Title

sub

Chart Subtitle

groupsize

Group size for grouped data. Data must be sorted by groups. Currently only a groupsize of 1 is supported.

mrlength

Number of observations used in the moving range to compute the within standard deviation for groupsize = 1.

alpha

Probability of a Type I error.

tol

Sigma multiplier for capabilities statistics. Usually defined as 5.15 or 6.

unbias_sub

Logical value as to whether the subgroup standard deviation should include the unbiasing constant. Default is TRUE.

unbias_overall

Logical value as to whether the overall standard deviation should include the unbiasing constant. Default is FALSE.

density

Logical value to control the display of the density curve. Default is FALSE.

binwidth

Overrides automatic determination of bin width in histogram. If set to -1 (default) then the function automatically calculates the optimum binwidth.

plot

Logical value to control plotting. Default is TRUE

Author(s)

Christopher Battles

Examples

1
2
3
4
5
6
7
8
##---- Should be DIRECTLY executable !! ----
##-- ==>  Define data, use random,
##--	or do  help(data=index)  for the standard data sets.

## The function is currently defined as
function (x) 
{
  }

vectis documentation built on May 2, 2019, 5:12 p.m.

Related to Cap_anal in vectis...