Description Usage Arguments Details Examples
Converts time in various formats to HH:MM
1 | convert_time(year, month, day, time, latitude = NULL)
|
year |
numeric or character, year corresponding to time |
month |
numeric or character, month of time |
day |
numeric or character, day of time |
time |
character vector of representations of time |
latitude |
latitude of station for conversion of sunset/rise times |
Conversion of time to times in HH:MM format is based on the solar declination from the insol package if times specify 'sunset' or 'sunrise'. In addition, the string representations of 'morning', 'noon', 'afternoon', 'evening' are set (see example(convert_time))
1 2 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.