powered by
Given the average parallax, this function corrects this value for a given latitude of the observer and for the altitude of the celestial object.
parallax.corr(parallax, loc, altitude = 0)
Average parallax to correct (e.g. 0.00224 for the Sun, or 0.952 for the Moon)
This can be either the latitude of the location, or a skyscapeR.horizon object.
(Optional) Altitude of the celestial object.. Defaults to 0 degrees.
# NOT RUN { # Parallax correction for the moon, as seen from latitude 50<U+00BA>N and at 0<U+00BA> altitude parallax.corr(0.952, 50, 0) # }
Run the code above in your browser using DataLab