SunCalcMeeus-package | R Documentation |
Compute the position of the sun, and local solar time using Meeus' formulae. Compute day and/or night length using different twilight definitions or arbitrary sun elevation angles. This package is part of the 'r4photobiology' suite, Aphalo, P. J. (2015) \Sexpr[results=rd]{tools:::Rd_expr_doi("10.19232/uv4pb.2015.1.14")}. Algorithms from Meeus (1998, ISBN:0943396611).
Please see the vignette 0: The R for Photobiology Suite for a description of the suite.
Maintainer: Pedro J. Aphalo pedro.aphalo@helsinki.fi (ORCID)
Aphalo, Pedro J. (2015) The r4photobiology suite. UV4Plants Bulletin, 2015:1, 21-29. \Sexpr[results=rd]{tools:::Rd_expr_doi("10.19232/uv4pb.2015.1.14")}.
Useful links:
Report bugs at https://github.com/aphalo/SunCalcMeeus/issues
# daylength
sunrise_time(lubridate::today(tzone = "EET"), tz = "EET",
geocode = data.frame(lat = 60, lon = 25),
unit.out = "hour")
day_length(lubridate::today(tzone = "EET"), tz = "EET",
geocode = data.frame(lat = 60, lon = 25),
unit.out = "hour")
sun_angles(lubridate::now(tzone = "EET"), tz = "EET",
geocode = data.frame(lat = 60, lon = 25))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.