On Aug 25, 2012, at 7:12 PM, inti luna wrote:
Hello,
I need help comparing two variables and producing a third variable
with the
result.I have this data:
id <-c(1,2,3,4,5,6,7,8,9,10)
vi <-c(1,0,1,1,1,1,1,2,2,0)
vi2 <-c(0,1,1,1,1,1,1,2,0,0)
data<-cbind(id,vi,vi2)
For the data in the examp
Hello,
I need help comparing two variables and producing a third variable with the
result.I have this data:
id <-c(1,2,3,4,5,6,7,8,9,10)
vi <-c(1,0,1,1,1,1,1,2,2,0)
vi2 <-c(0,1,1,1,1,1,1,2,0,0)
data<-cbind(id,vi,vi2)
For the data in the example, I need to generate:
id <-c(1,2,3,4,5,6,7,8,9,10)
2 matches
Mail list logo