moon {moonsun}R Documentation

Equatorial Coordinates of Moon

Description

The function computes equatorial coordinates of Moon.

Usage

moon(jday = jd() + gmt()/24)

Arguments

jday Julian Day Number.

Value

An object of class eqc, apos, data.frame containing computed coordinates. See planet() for details.

Note

The daily motion of the Moon is significant, and therefore default behavior of the function is to add a day fraction to the Julian Day Number, depending on current hour.

The algorithm used here is fairly simple and the expected accuracy is within 12 arc minutes of expected coordinates.

Author(s)

Lukasz Komsta

Examples

moon()
moon(jd(length=30))
as.ecc(moon())

[Package moonsun version 0.1 Index]