fact.pts: Generate Factorial Points

Description Usage Arguments Value Examples

Description

For a given number of factors, say k, it generates 2^k factorial points such that the number of changes in the run sequence is minimum.

Usage

1

Arguments

k

an integer greater than or equal to 2.

Value

For K number of factors, generate factorial points with minimum level changes.

Examples

1
2
3
# For generating a full factorial for k=4 factors
# in 2 levels with minimum level changes
fact.pts(4)

Example output

      c1         
 [1,] -1 -1 -1 -1
 [2,] -1 -1 -1  1
 [3,] -1 -1  1  1
 [4,] -1 -1  1 -1
 [5,] -1  1 -1 -1
 [6,] -1  1 -1  1
 [7,] -1  1  1  1
 [8,] -1  1  1 -1
 [9,]  1 -1 -1 -1
[10,]  1 -1 -1  1
[11,]  1 -1  1  1
[12,]  1 -1  1 -1
[13,]  1  1 -1 -1
[14,]  1  1 -1  1
[15,]  1  1  1  1
[16,]  1  1  1 -1

minimalRSD documentation built on May 1, 2019, 7:50 p.m.