View source: R/7_MSALinearity.R
gageLinDesign | R Documentation |
Function generates an object that can be used with the function gageLin
.
gageLinDesign(ref, n = 5)
ref |
A vector and contains the reference values for each group. |
n |
A single value and gives the amount of runs.Default value: '5'.. |
The function returns an object of class MSALinearity
.
MSALinearity
, gageLin
.
# results of run A-E
A=c(2.7,2.5,2.4,2.5,2.7,2.3,2.5,2.5,2.4,2.4,2.6,2.4)
B=c(5.1,3.9,4.2,5,3.8,3.9,3.9,3.9,3.9,4,4.1,3.8)
C=c(5.8,5.7,5.9,5.9,6,6.1,6,6.1,6.4,6.3,6,6.1)
D=c(7.6,7.7,7.8,7.7,7.8,7.8,7.8,7.7,7.8,7.5,7.6,7.7)
E=c(9.1,9.3,9.5,9.3,9.4,9.5,9.5,9.5,9.6,9.2,9.3,9.4)
# create Design
test=gageLinDesign(ref=c(2,4,6,8,10),n=12)
# create data.frame for results
results=data.frame(rbind(A,B,C,D,E))
# enter results in Design
test$response(results)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.