powered by
construct an order-of-addition orthogonal array with m+1 components from an order-of-addition orthogonal array with m components
oofa.oa(design)
a component orthogonal array with m+1 components
an order-of-addition orthogonal array with m components
design <- matrix(c(4,2,3,1, 4,1,3,2, 3,4,2,1, 3,4,1,2, 3,2,1,4, 3,1,2,4, 2,4,3,1, 2,4,1,3, 2,1,3,4, 1,4,3,2, 1,4,2,3, 1,2,3,4), 12, 4, byrow = TRUE) oofa.oa(design)
Run the code above in your browser using DataLab