Status.planet: Calculate the status of planet 'Status.planet'

Description Usage Arguments Value Examples

View source: R/Whereisit.R

Description

Calculate the status of planet Status.planet

Usage

1
Status.planet(t, p.orb, ab = 1, r.orb = 1, orig = c(0, 0))

Arguments

t

Time (day).

p.orb

Orbital Period.

ab

Semi-major over semi-minor. ab=1 for a Ring.

r.orb

Radius of the orbit.

orig

Reference orgin.

Value

(x,y) in Cartesian Coordinate System.

Examples

1
2
3
4
5
tday = seq(0, 365, 30)
x=Status.planet(t=tday, p.orb = 365, r.orb=10)
plot(PCS2CCS(0:360, a=10), type='l')
plotplanet(orig=x[,-1], rad = .51)
grid()

RoundAndRound documentation built on May 2, 2019, 6:50 a.m.