[Solved] summarizing a field based on the value of another field in dplyr


This is just a direct translation of your plyr call in dplyr:

library(dplyr)
DF2 = summarise(group_by(DF, id, feature), value=value[which(date == max(date))])

2

solved summarizing a field based on the value of another field in dplyr