Description Usage Arguments Details Value Examples
Utilities for manipulating hours
1 2 3  | as.hour(tm)
hourOffset(hr, offset = 0)
 | 
tm | 
 them timestamp as POSIXct.  | 
hr | 
 the decimal hour to be wrap.  | 
offset | 
 minimum hour of the interval to wrap into.  | 
Given a vector of POSIXct dates, as.hour extracts the time
of day component of the date and returns it as decimal hours.
Given a vector of decimal hours, hourOffset recodes the
decimal hour into a new 24 hour interval.
Return a decimal hour.
1 2  | as.hour(as.POSIXct("2005-11-12 19:58:00"))
hourOffset(1:10,5)
 | 
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.