lunar.illumination: Lunar Illumination

View source: R/lunar.package.R

lunar.illuminationR Documentation

Lunar Illumination

Description

Returns the proportion of lunar illumination on specified dates.

Usage

lunar.illumination(x, shift = 0)

Arguments

x

A vector of Date values.

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

lunar.illumination.mean

https://stackoverflow.com/questions/71757462/calculate-lunar-illumination-using-the-lunar-package-in-r

Examples

lunar.illumination(as.Date("2004-03-24"))

lunar documentation built on June 13, 2022, 5:06 p.m.