Skip to content
Prev 294184 / 398503 Next

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
--
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.