window_chron function

Time Windows of Diurnal Curves

Time Windows of Diurnal Curves

Takes a time window of a larger series

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

Returns

subset by time

References

chron, window, window.zoo

Author(s)

Stephen A Sefick Jr.

See Also

window

Examples

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