View source: R/lunar.package.R
lunar.illumination | R Documentation |
Returns the proportion of lunar illumination on specified dates.
lunar.illumination(x, shift = 0)
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. |
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/
lunar.illumination.mean
lunar.illumination(as.Date("2004-03-24"))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.