View source: R/transformations.R
sun | R Documentation |
Calculate times of sunrise and sunset depending on the location and the date.
sun(loc, date, tz)
loc |
Vector/Data frame. Longitude and Latitude coordinates for location of sun rise/set |
date |
Vector. Date(s) to cacluate sun rise/set for. |
tz |
Timezone of the dates. |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.