Re: [R] Changing time intervals in data set

2021-12-15 Thread Chris Evans
What you said earlier was: > >> The data.frame/tibble has columns for year, month, day, hour, minute, and > >> datetime. > As well as a site_nbr. > What I asked is, > >> Would difftime() allow me to find the dates when the changes occurred? For me the next step, in tidyverse pseudocode, might

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

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
I think Rich has shared aspects of the data before and may have forgotten we want something here and now. Besides a small sample of what the relevant columns look like and a suggestion of what he wants some new column to look like, we probably need more to understand what he wants. The issue

Re: [R] transformTukey

2021-12-15 Thread Thomas Subia
Thanks Ivan! This makes perfect sense now! All the best, Thomas Subia Statistician -Original Message- From: Ivan Krylov Sent: Wednesday, December 15, 2021 5:21 AM To: Thomas Subia via R-help Cc: Thomas Subia ; Thomas Subia Subject: Re: [R] transformTukey On Wed, 15 Dec 2021

Re: [R] Need older version of R

2021-12-15 Thread Ivan Krylov
On Wed, 15 Dec 2021 17:40:15 +0530 TALARI PRAVEEN wrote: > I am a Linux ubuntu user and I want to install an older version of r > 4.0.2. Try asking in R-SIG-Debian , but if all else fails, you could always download https://cran.r-project.org/src/base/R-4/R-4.0.2.tar.gz and build it from source:

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

[R] Need older version of R

2021-12-15 Thread TALARI PRAVEEN
Hii, I am a Linux ubuntu user and I want to install an older version of r 4.0.2. When I try to install by the terminal, but it is taking new version 4.1.2. Some libraries are not supported in that version. Will please help in installing the 4.0.2 version of R. Regards, -- Praveen Talari MSc.

[R] Changing time intervals in data set

2021-12-15 Thread Rich Shepard
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 record. The data.frame/tibble has columns for year, month, day, hour, minute, and datetime. Would difftime() allow me to find the dates when the changes occurred?

Re: [R] transformTukey

2021-12-15 Thread Ivan Krylov
On Wed, 15 Dec 2021 05:11:47 -0800 Thomas Subia via R-help wrote: > data = read.delim("clipboard") What type of value does read.delim return? Use str() to find out. > > library(rcompanion) > > trans_data <- transformTukey(data) > > Error in is.infinite(TRANS) : > default method not

[R] transformTukey

2021-12-15 Thread Thomas Subia via R-help
Colleagues, I attempted to copy data from the clipboard and use rcompanion's transformTukey command in an attempt to normalize the dataset. data = read.delim("clipboard") head(data) Flatness 17e-04 21e-03 38e-04 45e-04 55e-04 65e-04 All data are greater than 0. Data