Learn R Programming

StreamMetabolism (version 1.1.2)

window_chron: Time Windows of Diurnal Curves

Description

Takes a time window of a larger series

Usage

window_chron(x, day1, hour1, day2, hour2, ...)

Arguments

x
data to be subsetted
day1
start day
hour1
start time
day2
end date
hour2
end time
...
other arguments

Value

subset by time

References

chron, window, window.zoo

See Also

window

Examples

Run this code
#with real data
data(DOTemp)
d <- window_chron(DOTemp, "8/18/70", "06:00:00", "8/18/70", "20:15:00")
plot(d)

Run the code above in your browser using DataLab