Displaying 1 result from an estimated 1 matches for "ampi".
Did you mean:
api
2009 Oct 10
2
Matching Dates Closest without going over
Hi,
I have 2 date vectors d1 and d2.
d1 <- structure(c(14526, 14495, 14464, 14433, 14402, 14371, 14340, 14309,
14278, 14247, 14216, 14185), class = "Date")
d2 <- structure(c(14526, 14509, 14488, 14466, 14453, 14441, 14396, 14388,
14343, 14333, 14310, 14281), class = "Date")
I would like to create another dataframe with columns d1 and d2, where d1 is
the original d1