ecc: Create objects containing coordinates

Description Usage Arguments Details Value Author(s) Examples

Description

These functions are simple way to create objects containing a set of horizontal (hoc), ecliptic (ecc) and equatorial (eqc) coordinates.

Usage

1
2
3
ecc(lat, long, names = NULL)
eqc(ra, d, names = NULL)
hoc(az, alt, names = NULL)

Arguments

lat

ecliptic latitude

long

ecliptic longitude

ra

right ascension

d

declination

az

azimuth

alt

altititude

names

names of objects

Details

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.

Value

An object of class eqc/ecc/hoc, apos, data.frame.

Author(s)

Lukasz Komsta

Examples

1
2
3
4
a = ecc(1:360,rep(0,360),1:360)
a
as.eqc(a)
plot(as.eqc(a))

moonsun documentation built on May 29, 2017, 12:17 p.m.