-3
2017-01-27 01
2017-01-26 03
2017-01-27 15
2017-04-03 02
DF2
2017-01-26 03
2017-01-27 00
2017-01-27 15
2017-04-03 18
最新
2017-01-27 01
2017-01-27 00
2017-01-27 15
2017-04-03 18
2017-01-27 01
2017-01-26 03
2017-01-27 15
2017-04-03 02
DF2
2017-01-26 03
2017-01-27 00
2017-01-27 15
2017-04-03 18
最新
2017-01-27 01
2017-01-27 00
2017-01-27 15
2017-04-03 18
apply(data.frame(a=c("2016-01-01","2016-02-01", "2017-01-01"),
b=c("2016-02-01","2016-01-01", "2016-12-01")), 1, max)
これはあなたを与える必要があります1行あたりの最新の日付
pmax(Df1、Df2) – thelatemail
[ask]と[mcve]とhttps://stackoverflow.com/questions/5963269/how-to-make-a-great-rをお読みください。再現可能な例 – jogo