Section3 | R Documentation |
Find a planetary or asteroid name.
swe_get_planet_name(ipl)
ipl |
Body/planet as integer (SE$SUN=0, SE$Moon=1, ... SE$PLUTO=9) |
Convert object number into object name.
swe_get_planet_name
returns the object's name as string
Section 3 in http://www.astro.com/swisseph/swephprg.htm. Remember that array indices start in R at 1, while in C they start at 0!
data(SE)
swe_get_planet_name(SE$MOON)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.