3
I have two date frames.:
frame1 <- data.frame(dia=c("02/01/2017","03/01/2017","04/01/2017","05/01/2017"), y=c(2,2,1,2),w=c(4,4,2,2),z=c(25,16,24,30), k=c("sim","nao","sim","nao"))
frame2 <- data.frame(dia=c("05/01/2017","04/01/2017","03/01/2017","02/01/2017"), v1=c(1000,2000,3000,4000))
How do I join the second data.frame to the first? It is necessary to leave dates in the same order on both data.frames before joining them together?
I tried to use the function rbind
, but it didn’t work.