Re: [R] Help with selection of continuous data

2021-06-21 Thread André Luis Neves
THANK you very much, guys! You are very good people and highly competent in programming! The problem was solved. Have a great day. Andre On Mon, Jun 21, 2021 at 12:10 PM Jim Lemon wrote: > Hi Andre, > I've taken a different approach to that employed by Eric: > > > A<-data.frame(c("01/01/202

Re: [R] Help with selection of continuous data

2021-06-21 Thread PIKAL Petr
Neves > > Subject: Re: [R] Help with selection of continuous data > > Hi Andre, > I've taken a different approach to that employed by Eric: > > A<- > data.frame(c("01/01/2020","01/01/2020","01/01/2020","01/01/2020",&q

Re: [R] Help with selection of continuous data

2021-06-21 Thread Jim Lemon
Hi Andre, I've taken a different approach to that employed by Eric: A<-data.frame(c("01/01/2020","01/01/2020","01/01/2020","01/01/2020","01/01/2020", "01/01/2020","01/01/2020","01/01/2020","01/01/2020","01/01/2020","01/01/2020", "01/01/2020","01/02/2020","01/02/2020","01/02/2020","01/02/2020","0

Re: [R] Help with selection of continuous data

2021-06-21 Thread Eric Berger
Hi André, It's not 100% clear to me what you are asking. I am interpreting the question as selecting the data from those dates for which all of 1,2,3,4,5,6,7,8 appear in the ID column. My approach determines the dates satisfying this property, which I put into a vector dtV. Then I take the rows of