Learn R Programming

astro (version 1.2)

lumdist: Luminosity Distance

Description

Calculates luminosity distance

Usage

lumdist(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

Luminosity distance in indicated units to the given redshift with the given cosmology.

References

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

See Also

The astronomy package: astro.