[R] Repeat the first day data through all the day. Zoo
skan
juanpide at gmail.com
Wed Aug 25 13:43:50 CEST 2010
down vote favorite
Hello
I have a zoo series. It lasts 10 years and its frequency is 15min.
I'd like to get a new zoo series (or vector) with the same number of
elements, whith each element equal to the first element of the day. That's,
The first element everyday is repeated throughout the wole day.
This is not same as aggregate(originalseries,as.Date,head,1) because this
gives a vector with just one element for each day.
cheers
--
View this message in context: http://r.789695.n4.nabble.com/Repeat-the-first-day-data-through-all-the-day-Zoo-tp2338069p2338069.html
Sent from the R help mailing list archive at Nabble.com.
More information about the R-help
mailing list