lunar.illumination {lunar} | R Documentation |
Lunar Illumination
Description
Returns the proportion of lunar illumination on specified dates.
Usage
lunar.illumination(x, shift = 0)
Arguments
x |
A vector of |
shift |
The number of hours by which to shift the calculation of lunar phase. By default lunar phase is calculated at 12 noon UT. |
Details
Adapted from function
moon.illumination
in from the
R4MFCL project (not an R package), which was developed
by the Secretariat of the Pacific Community (SPC).
The R4MFCL project was led by Simon Hoyle, and also includes code
by Shelton Harley, Nick Davies, and Adam Langley of the SPC,
and Pierre Kleiber of the US National Marine Fisheries Service.
Pierre Kleiber is the author of the
moon.illumination
function.
Code from project R4MFCL is distributed under the MIT License:
https://opensource.org/licenses/mit-license.php
Here is a link to the R4MFCL project:
https://code.google.com/archive/p/r4mfcl/
See Also
Examples
lunar.illumination(as.Date("2004-03-24"))