sun_times | R Documentation |
Calculate times of sunrise and sunset depending on the location and the date.
sun_times(loc, date, angle = 6, interval = "none", type = "riseset")
loc |
Vector/Data frame. Longitude and Latitude coordinates for location of sun rise/set |
date |
Vector. Date(s) to calculate sun rise/set for. |
angle |
Numeric. For type = "riseset" the angle of the sun (6 = civil twilight) |
interval |
Character. How to organize the sunrise/sunset times |
type |
Character. What kind of sunrise/sunset to calculate |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.