Re: [R] Changing time intervals in data set

2021-12-16 Thread Rich Shepard
On Wed, 15 Dec 2021, Avi Gross wrote: I still do not see what you want to do, sorry. Avi, Backing up to my original post on this thread I've realized that no one addressed my main question: do variable measurement intervals affect analyses of the data. And, if so, how and how to compensate fo

Re: [R] Changing time intervals in data set

2021-12-16 Thread Rich Shepard
On Thu, 16 Dec 2021, Chris Evans wrote: What you said earlier was: For me the next step, in tidyverse pseudocode, might be something like: tibData %>% arrange(nbr, datetime) %>% # just in case things are not ordered nicely group_by(site_nbr) %>% # as you want to get changes within site I

Re: [R] Changing time intervals in data set

2021-12-15 Thread Chris Evans
s and supports publications. Others here are professional statisticians _and_ professional R coders. Very best and seasonal greetings to all, Chris - Original Message - > From: "Rich Shepard" > To: "r-help mailing list" > Sent: Wednesday, 15 December, 2021

Re: [R] Changing time intervals in data set

2021-12-15 Thread Rich Shepard
On Thu, 16 Dec 2021, Jim Lemon wrote: From what you sent, it seems like you want to find where the change in _measurement interval_ occurred. That looks to me as though it is the first datetime in each row. In the first row, there is a week gap between the ten and fifteen minute intervals. This

Re: [R] Changing time intervals in data set

2021-12-15 Thread Jim Lemon
Hi Rich, >From what you sent, it seems like you want to find where the change in _measurement interval_ occurred. That looks to me as though it is the first datetime in each row. In the first row, there is a week gap between the ten and fifteen minute intervals. This may indicate that no measuremen

Re: [R] Changing time intervals in data set

2021-12-15 Thread Rich Shepard
On Wed, 15 Dec 2021, jim holtman wrote: At least show a sample of the data and then what you would like as output. Jim, There are 813,694 rows of data. As I wrote, A 33-year set of river discharge data at one gauge location has recording intervals of 5, 10, and 30 minutes over the period of

Re: [R] Changing time intervals in data set

2021-12-15 Thread Avi Gross via R-help
ide answers such as how many measures were made in what total amount of time (first to last.) -Original Message- From: R-help On Behalf Of jim holtman Sent: Wednesday, December 15, 2021 1:05 PM To: Rich Shepard Cc: R mailing list Subject: Re: [R] Changing time intervals in data set At le

Re: [R] Changing time intervals in data set

2021-12-15 Thread jim holtman
At least show a sample of the data and then what you would like as output. Thanks Jim Holtman *Data Munger Guru* *What is the problem that you are trying to solve?Tell me what you want to do, not how you want to do it.* On Wed, Dec 15, 2021 at 6:40 AM Rich Shepard wrote: > A 33-year set of