Interweaving of two datasets
With the sample data and the merge as above,
table(res2$phone)
454 2123 2342 9876 56775 87678
2 2 3 3 4 1
with(res2, table(name, request))
request
name book cigarettes drink food paper
Andy 0 1 0 0 0
Bruce 0 0 0 2 2
Ella 1 0 1 1 0
John 1 0 0 0 1
Luna 0 0 0 1 1
Morgana 1 1 0 1 0
Rui Barradas
lunarossa wrote
Hi Rui, sorry for my vagueness. The problem is not the order. I tried to merge the datasets as you wrote. The result is that when I input: table(phone) The output is: 0 And this happens for all the variables.
-- View this message in context: http://r.789695.n4.nabble.com/Interweaving-of-two-datasets-tp4608505p4623724.html Sent from the R help mailing list archive at Nabble.com.