Learn R Programming

moonsun (version 0.1.3)

planets: Coordinates of all planets for given day

Description

Compute equatorial coordinates for all planets (and also Moon and Sun if needed) by one function call.

Usage

planets(jday = jd(), show.sun = TRUE, show.moon = TRUE)

Arguments

jday
Julian Day Number (default today)
show.sun
should the Sun position be computed?
show.moon
should the Moon position be computed?

Value

An object of class eqc, containing all computed coordinates.

Details

The function calls the planet(), sun() and moon() function for each object.

Examples

Run this code
planets()
rst(planets())

Run the code above in your browser using DataLab