Hello,
How is possible to join two DF?
DF1 <- data.frame(id = c(1,1,1,1,1,1,1,1,1,1, "", "", "", "", "",
2,2,2,2,2),
group = c(1,1,1,2,2,3,3,3,4,4,"", "", "", "", "",
5,5,5,7,8),
product = c(11, 22, 33, 44,55,66,77,88,99,1010, "", "", "", "", "",
1111, 1212, 1313, 1414, 1515),
frecuency = c(2,2,2,3,3,3,4,4,4,5,"","","","","", 6,7,7,3,2))
DF1
DF2 <- data.frame(id = c(1,1,1,1,1,1,1,1,1,1,2,2,2,2,2,2,2,2,2,2),
k = c(1,1,1,1,1,1,1,1,1,1,2,2,2,2,2,2,2,2,2,2),
group = c(1111,1212,1313,1414,1515,1616,1717, 1818, 1919,2020, 2121, 2222,2323, 2424, 2525, 2626, 2727, 2828, 2929, 3030),
frecuency = c(2,2,2,2,2,2,4,4,4,5,2,2,3,4,5,4,4,4,3,2))
DF2
Getting this output?
Or any example?
Thanks!!