window.chron {StreamMetabolism} | R Documentation |
Takes a time window of a larger series
## S3 method for class 'chron': window(x, day1, hour1, day2, hour2, ...)
x |
data to be subsetted |
day1 |
start day must be in "" |
hour1 |
start time must be in "" |
day2 |
end date must be in "" |
hour2 |
end time must be in "" |
... |
other arguments |
subset by time
Stephen A Sefick Jr.
chron, window, window.zoo
#with real data data(DOTemp) d <- window.chron(DOTemp, "8/18/70", "06:00:00", "8/18/70", "20:15:00") plot(d)