Description Usage Arguments Examples
Because the package overlap parameterizes time of day from 0 to 2*pi, times need to be converted.
1 | toRadianTime(x)
|
x |
A POSIXct date/time object |
1 2 3 4 5 6 7 | x <- strptime('09-18-2010 17:30:05', format='%m-%d-%Y %H:%M:%S')
toRadianTime(x)
# You can also use package lubridate to create date/time objects
library(lubridate)
y <- mdy_hms('09-18-2010 06:00:05')
toRadianTime(y)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.