Displaying 3 results from an estimated 3 matches for "zaman_seti".
2023 Oct 16
2
creating a time series
...02 13:30:00 to 2022-11-26 23:45:00 and number of data is 177647
? would like to ask why my time series are less then my expectation.
baslangic <- as.POSIXct("2017-11-02 13:30:00", tz = "CET")
bitis <- as.POSIXct("2022-11-26 23:45:00", tz = "CET") #
zaman_seti <- seq.POSIXt(from = baslangic, to = bitis, by = 60 * 15)
length(zaman_seti)
[1] 177642
but it has to be 177647
and secondly ? have times in this format ( 2.11.2017 13:30/DD-MM-YYYY HH:MM:SS)
su_seviyeleri_data <- as.POSIXct(su_seviyeleri_data$kayit_zaman, format = "%Y-%m-%d %H:%...
2023 Oct 16
1
creating a time series
Why did you expect to have 177647 elements ?
I found that 177642 is the correct number:
Marc
baslangic <- as.POSIXct("2017-11-02 13:30:00", tz = "CET")
bitis <- as.POSIXct("2022-11-26 23:45:00", tz = "CET")? #
zaman_seti <- seq.POSIXt(from = baslangic, to = bitis, by = 60 * 15)
y2017_11_02 <- seq(from=as.POSIXct("2017-11-02 13:30:00", tz = "CET"),
to=as.POSIXct("2017-11-02 23:45:00", tz = "CET"), by = 60 * 15)
# Length 42 - OK
length(y2017_11_02)
y2017_11_12 <- seq...
2023 Oct 16
1
Ynt: creating a time series
...t;
Konu: Re: [R] creating a time series
Why did you expect to have 177647 elements ?
I found that 177642 is the correct number:
Marc
baslangic <- as.POSIXct("2017-11-02 13:30:00", tz = "CET")
bitis <- as.POSIXct("2022-11-26 23:45:00", tz = "CET") #
zaman_seti <- seq.POSIXt(from = baslangic, to = bitis, by = 60 * 15)
y2017_11_02 <- seq(from=as.POSIXct("2017-11-02 13:30:00", tz = "CET"),
to=as.POSIXct("2017-11-02 23:45:00", tz = "CET"), by = 60 * 15)
# Length 42 - OK
length(y2017_11_02)
y2017_11_12 <- seq(...