Selecting a Maximum from a subset dataset

Hi, remember put a reproducible example of data for all community could help you.

Other way is copy and paste the result of this:

dput(MT_PPP [ 1:30, ])