I have the following two data frames:

```
df1 = data.frame(names=c('a','b','c','c','d'),year=c(11,12,13,14,15), Times=c(1,1,3,5,6))
df2 = data.frame(names=c('a','e','e','c','c','d'),year=c(12,12,13,15,16,16), Times=c(2,2,4,6,7,7))

```

I would like to know how I could merge the above df but only keeping the most recent Times depending on the year. It should look like this:

```
Names  Year   Times
a      12     2
b      12     2
c      16     7
d      16     7
e      13     4

```