How do I make a partial profile experimental design in R?

I currently use the conjoint package or ALGdesign package, but they all use 
full profile designs.

For example, the below creates a full profile design where there is 1 level 
from each factor present

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)))


I would like a design where there isn’t always a price or tag or smell or 
aroma shown for each card.


Thank you






Sent from Windows Mail
        [[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