search for: tp2242516p2242658

Displaying 1 result from an estimated 1 matches for "tp2242516p2242658".

2010 Jun 03
2
two columns into one
Dear RĀ“ers, How can I create one single factor variable from two variables incorporating all possible combinations of the values?? test<-sample(c("A",NA,"B"),100,replace=T) test2<-sample(c("E",F,"A"),100,replace=T) tes<-cbind(test,test2) pseduocode: r<-function(test,test2) r AE AF AA NAE NAF NAA BE BF BA //M [[alternative HTML