Hi,
I am trying to create multiple orthogonal designs using the Conjoint
package.  I have 4 factors with 5 levels in each.

library(conjoint)
experiment<-expand.grid(
  price<-c("a1","a2","a3","a4","a5"),
  tag<-c("b1","b2","b3","b4","b5"),
  smell<-c("c1","c2","c3","c4","c5"),
  aroma<-c("f1","f2","f3","f4","f5"))
design<-caFactorialDesign(data=experiment,type="fractional")
print(design)
print(cor(caEncodedDesign(design)))

The resulting design from the above code has 22 test combinations.= (listed
below).  I would like to be able to create multiple designs instead of just
having one.  Is there a way to do that?

    Var1 Var2 Var3 Var4
19    a4   b4   c1   f1
40    a5   b3   c2   f1
96    a1   b5   c4   f1
107   a2   b2   c5   f1
148   a3   b5   c1   f2
157   a2   b2   c2   f2
176   a1   b1   c3   f2
195   a5   b4   c3   f2
239   a4   b3   c5   f2
252   a2   b1   c1   f3
299   a4   b5   c2   f3
313   a3   b3   c3   f3
335   a5   b2   c4   f3
366   a1   b4   c5   f3
381   a1   b2   c1   f4
447   a2   b5   c3   f4
469   a4   b4   c4   f4
478   a3   b1   c5   f4
543   a3   b4   c2   f5
559   a4   b2   c3   f5
587   a2   b3   c4   f5
625   a5   b5   c5   f5

[1] "R version 3.0.3 (2014-03-06)"

Thank you

        [[alternative HTML version deleted]]

______________________________________________
R-help@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.

Reply via email to