[R] Picking Best Discriminant Function Variables

2015-02-15 Thread David Moskowitz
Is there a way to have the LDA function give me the best 3 (or 4) predictor variables. When I put in all the variables, LDA uses all the variables, but I would like to know what would be the 3 (or 4) best to use out all the available variables and the coefficients for those. Here is the co

[R] Making a partial profile factorial design in R

2014-05-25 Thread David Moskowitz
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.

[R] Creating multiple orthogonal designs

2014-05-14 Thread David Moskowitz
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

[R] creating multiple orthogonal plans

2014-05-02 Thread David Moskowitz
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"

[R] How do I create multiple orthogonal designs with the Conjoint package?

2014-05-01 Thread David Moskowitz
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"