View source: R/calc_sun_rise_set.R
calc_sun_rise_set | R Documentation |
Calculates the time of sunrise and sunset based on latitude and date.
calc_sun_rise_set(date, latitude)
date |
Vector of dates in |
latitude |
Single latitude value of site. South should be negative, North positive |
data.frame of sunrise and sunset (apparent solar time, nominally UTC)
calc_is_daytime
calc_sun_rise_set(latitude=40.75,
date=as.POSIXlt(c('2013-03-31', '2017-07-01')))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.