Count consecutive number of days with condition in R

Although R is mostly known for its capability in statistical analytics and data modeling but it has great capability to data preparation and query. Here I present a sample case which is very much required in our day to day analysis. So I came through a scenario when I have to figure out the exception ... Read more