Considering a dataframe like this:
a$ID<-data.frame(c("PV001","PV001","PV002","PV002","PV003","PV003"))
b$freq<-data.frame(c("468","487","213896","212005","90827","86592"))
c<-cbind(a,b);colnames(c)<-c("ID","freq")
I wanted to know how to group the data according to the ID value and make a range of the values of freq.
Thanks in advance, Greetings.