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.

I would like to be able to create multiple designs instead of just
having one.  Is there a way to do that?

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




Thank you,

David
        [[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