library(support.CEs)
## Registered S3 method overwritten by 'DoE.base':
##   method           from       
##   factorize.factor conf.design
unlabeled8CEQ <- rotation.design( 
  attribute.names = list(Additives = c("Without","With"), 
                         Nutrition = c("25g","40g"), 
                         Format = c("Raw","Ready"), 
                         Carbon = c("No","20%"), 
                         Vegan = c("No","Yes"), 
                         Price = c("3.5","4.5","6.0")), 
  nalternatives = 2, 
  nblocks = 3, ### this indicates dividing into 3 blocks
  row.renames = FALSE, 
  seed = 987, 
  randomize = FALSE) 
## The columns of the array have been used in order of appearance. 
## For designs with relatively few columns, 
## the properties can sometimes be substantially improved 
## using option columns with min3 or even min34.
print(unlabeled8CEQ)
## 
## Choice sets:
## alternative 1 in each choice set
##    BLOCK QES ALT Additives Nutrition Format Carbon Vegan Price
## 19     1   1   1      With       40g  Ready     No    No   6.0
## 17     1   2   1   Without       40g    Raw     No    No   3.5
## 13     1   3   1   Without       25g  Ready     No    No   4.5
## 11     1   4   1   Without       25g    Raw    20%    No   6.0
## 23     1   5   1      With       40g    Raw    20%    No   4.5
## 15     1   6   1   Without       40g  Ready    20%    No   6.0
## 6      1   7   1      With       25g  Ready    20%   Yes   3.5
## 14     1   8   1      With       40g  Ready     No   Yes   6.0
## 8      2   1   1      With       25g  Ready     No    No   3.5
## 12     2   2   1   Without       40g    Raw     No   Yes   6.0
## 7      2   3   1   Without       25g    Raw     No    No   3.5
## 1      2   4   1      With       25g    Raw    20%    No   4.5
## 22     2   5   1      With       40g    Raw    20%   Yes   4.5
## 4      2   6   1      With       25g    Raw     No   Yes   4.5
## 3      2   7   1      With       40g  Ready    20%   Yes   3.5
## 16     2   8   1   Without       25g  Ready     No   Yes   4.5
## 20     3   1   1      With       25g  Ready    20%    No   6.0
## 10     3   2   1   Without       25g    Raw    20%   Yes   6.0
## 24     3   3   1   Without       40g    Raw    20%   Yes   3.5
## 21     3   4   1   Without       25g  Ready    20%   Yes   3.5
## 5      3   5   1   Without       40g  Ready    20%    No   4.5
## 9      3   6   1      With       40g    Raw     No    No   3.5
## 18     3   7   1   Without       40g  Ready     No   Yes   4.5
## 2      3   8   1      With       25g    Raw     No   Yes   6.0
## 
## alternative 2 in each choice set
##    BLOCK QES ALT Additives Nutrition Format Carbon Vegan Price
## 19     1   1   2   Without       25g    Raw    20%   Yes   3.5
## 17     1   2   2      With       25g  Ready    20%   Yes   4.5
## 13     1   3   2      With       40g    Raw    20%   Yes   6.0
## 11     1   4   2      With       40g  Ready     No   Yes   3.5
## 23     1   5   2   Without       25g  Ready     No   Yes   6.0
## 15     1   6   2      With       25g    Raw     No   Yes   3.5
## 6      1   7   2   Without       40g    Raw     No    No   4.5
## 14     1   8   2   Without       25g    Raw    20%    No   3.5
## 8      2   1   2   Without       40g    Raw    20%   Yes   4.5
## 12     2   2   2      With       25g  Ready    20%    No   3.5
## 7      2   3   2      With       40g  Ready    20%   Yes   4.5
## 1      2   4   2   Without       40g  Ready     No   Yes   6.0
## 22     2   5   2   Without       25g  Ready     No    No   6.0
## 4      2   6   2   Without       40g  Ready    20%    No   6.0
## 3      2   7   2   Without       25g    Raw     No    No   4.5
## 16     2   8   2      With       40g    Raw    20%    No   6.0
## 20     3   1   2   Without       40g    Raw     No   Yes   3.5
## 10     3   2   2      With       40g  Ready     No    No   3.5
## 24     3   3   2      With       25g  Ready     No    No   4.5
## 21     3   4   2      With       40g    Raw     No    No   4.5
## 5      3   5   2      With       25g    Raw     No   Yes   6.0
## 9      3   6   2   Without       25g  Ready    20%   Yes   4.5
## 18     3   7   2      With       25g    Raw    20%    No   6.0
## 2      3   8   2   Without       40g  Ready    20%    No   3.5
## 
## Candidate design:
##    A B C D E F
## 1  2 1 1 2 1 2
## 2  2 1 1 1 2 3
## 3  2 2 2 2 2 1
## 4  2 1 1 1 2 2
## 5  1 2 2 2 1 2
## 6  2 1 2 2 2 1
## 7  1 1 1 1 1 1
## 8  2 1 2 1 1 1
## 9  2 2 1 1 1 1
## 10 1 1 1 2 2 3
## 11 1 1 1 2 1 3
## 12 1 2 1 1 2 3
## 13 1 1 2 1 1 2
## 14 2 2 2 1 2 3
## 15 1 2 2 2 1 3
## 16 1 1 2 1 2 2
## 17 1 2 1 1 1 1
## 18 1 2 2 1 2 2
## 19 2 2 2 1 1 3
## 20 2 1 2 2 1 3
## 21 1 1 2 2 2 1
## 22 2 2 1 2 2 2
## 23 2 2 1 2 1 2
## 24 1 2 1 2 2 1
## class=design, type= oa 
## 
## Design information:
## number of blocks = 3 
## number of questions per block = 8 
## number of alternatives per choice set = 2 
## number of attributes per alternative = 6