search for: tp2242232p2242260

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

2010 Jun 03
4
data-management: Rowwise NA
Dear RĀ“ers.. In this mock dataset how can I generate a logical variable based on whether just tes or tes3 are NA in each row?? test<-sample(c("A",NA,"B"),100,replace=T) test2<-sample(c("A",NA,"B"),100,replace=T) test3<-sample(c("A",NA,"B"),100,replace=T) tes<-cbind(test,test2,test3)