Learn R Programming

astro (version 1.2)

angdist: Angular Diameter Distance

Description

Calculates angular diameter distance

Usage

angdist(z = 1, c = 3E8, H = 70, M = 0.3, L = 1-M, K = 1-M-L, units = "Mpc")

Arguments

z
redshift
c
speed of light (m/s)
H
Hubble constant (km/s/Mpc)
M
Omega M - matter
L
Omega L - energy
K
Omega K - curvature
units
output units [Mpc/ly/m]

Value

Angular diameter distance in indicated units to the given redshift with the given cosmology. Note that this function is only valid for values of K >= 0.

References

Hogg D. W., 1999, ArXiv Astrophysics e-prints, arXiv:astro-ph/9905116

See Also

The astronomy package: astro.