[R] seq.POSIXt creates duplicate entries
Micha Silver
micha at arava.co.il
Wed Dec 9 19:58:57 CET 2015
Hello all:
I am creating a time series using seq.POSIXt.
ts.full <- as.character(seq.POSIXt(as.POSIXct(start(d.zoo)),
as.POSIXct(end(d.zoo)), by="hour"))
The period crosses the hour of change from "summer time" to "winter
time". When checking with:
duplicated(ts.full)
I see that there are some duplicate hours. These fall right at the time
change. How can I avoid this? (or remove the duplicates)?
Thanks
--
Micha Silver
Arava Drainage Authority
+972-523-665918
More information about the R-help
mailing list