gageLinDesign: Function to create a object of class MSALinearity.

Description Usage Arguments Value Note Author(s) See Also Examples

View source: R/gag_s.R

Description

Function generates an object that can be used with the function gageLin.

Usage

1
gageLinDesign(ref, n = 5)

Arguments

ref

is a vector and contains the reference values for each group.

n

is a single value and gives the amount of runs.

Value

The Function returns an object of the class MSALinearity.

Note

The results for the single should be entered with the help of response!

Author(s)

Thomas Roth: thomas.roth@tu-berlin.de
Etienne Stockhausen: stocdarf@mailbox.tu-berlin.de

See Also

gageLin
response
edit
http://www.r-qualitytools.org

Examples

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
# 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
temp=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                 
response(temp)=results                                
temp

qualityTools documentation built on May 30, 2017, 1:43 a.m.