f_milstd414.test {Planesmuestra} | R Documentation |
Accept or reject a variable sample considering a shift factor
Description
Accept or reject a variable sample considering a shift factor, the data comes from an especific variable plan.
Usage
f_milstd414.test(x,k,S,Limite,L)
Arguments
x |
Vector or data frame containing the taken sample values, the function evaluates only the first column or variable |
k |
A vector of length one, equal shift factor |
S |
Know standard deviation, if value not exists, function gives the sample standard deviation |
Limite |
A character vector of length one, "S" for upper control limit and "I" for lower control limit |
L |
A vector of length one, equal to a specific Control Limit value |
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
Examples
x<-c(4.7,5.1,4.9,4.9,4.8,4.9,4.9,4.8,4.8,4.7,4.7,4.9,4.8,4.9,4.6,4.8,4.9,5.1,4.8,5,5,4.7,5,5,4.8)
f_milstd414.test(as.data.frame(x),k=1.98,Limite="S", L=5.1)
f_milstd414.test(as.data.frame(x),k=1.98,Limite="I", L=4.7)
[Package Planesmuestra version 0.1 Index]