Learn R Programming

DoE.base (version 0.2)

expansive.replace: Expansive replacement for two orthogonal arrays

Description

Expansive replacement for two orthogonal arrays

Usage

expansive.replace(array1, array2, fac1)

Arguments

array1
an orthogonal array, must be a matrix; the levels of column fac1 of this array are replaced by the corresponding runs of array2; they must be numbered with integers starting with 1
array2
an orthogonal array, must be a matrix this array is replaced for a column in array1
fac1
if NULL, the first suitable column of array1 is replaced with array2; alternatively, a suitable column number for array1 can be specified

Value

  • The function returns an object of classes oa and matrix, which can be used in function oa.design. Whether or not the object is an orthogonal array depends on the choice of suitable input arrays by the user. The properties of the resulting array can e.g. be inspected with functions GWLP or GRind.

Details

This function mainly is meant for combining two orthogonal arrays via what Kuhfeld (2009) calls expansive replacement.

References

Kuhfeld, W. (2009). Orthogonal arrays. Website courtesy of SAS Institute http://support.sas.com/techsup/technote/ts723.html.

See Also

See Also oacat

Examples

Run this code
myL24.2.14.6.1 <- expansive.replace(L24.2.12.12.1, L12.2.2.6.1)

Run the code above in your browser using DataLab