Learn R Programming

cosmoFns (version 1.1-1)

D.L: Luminosity distance

Description

Function computes luminosity distance in a flat cosmology.

Usage

D.L(z, omega.m = 0.27, omega.lambda = 0.73, H.0 = 71)

Arguments

z

Redshift

omega.m

Omega matter parameter

omega.lambda

Omega lambda parameter

H.0

Hubble constant in km/s/Mpc

Value

Luminosity distance in Mpc

References

Hogg (2000), arXiv:astro-ph/9905116, equation (21)

Examples

Run this code
# NOT RUN {
D.L(2.3)
# }

Run the code above in your browser using DataLab