Displaying 1 result from an estimated 1 matches for "tp4573220p4575440".
2012 Apr 20
0
Select interval of time series object by date and time
...ract the desired window
Z <- zoo(y, order.by=x)
w <- window(Z, start=start.hour, end=end.hour)
# Compute some statistics
sum(w)
mean(w)
sd(w)
Hope this helps,
Rui Barradas
--
View this message in context: http://r.789695.n4.nabble.com/Select-interval-of-time-series-object-by-date-and-time-tp4573220p4575440.html
Sent from the R help mailing list archive at Nabble.com.