ecc {moonsun} | R Documentation |
These functions are simple way to create objects containing a set of horizontal (hoc), ecliptic (ecc) and equatorial (eqc) coordinates.
ecc(lat, long, names = NULL) eqc(ra, d, names = NULL) hoc(az, alt, names = NULL)
lat |
ecliptic latitude |
long |
ecliptic longitude |
ra |
right ascension |
d |
declination |
az |
azimuth |
alt |
altititude |
names |
names of objects |
All the arguments to these functions are vectors of the same length, containing corresponding coordinates and names. These are collected into a dataframe of appropriate class - eqc, ecc or hoc.
An object of class eqc/ecc/hoc, apos, data.frame.
Lukasz Komsta
a = ecc(1:360,rep(0,360),1:360) a as.eqc(a) plot(as.eqc(a))