Description Usage Arguments Value References Examples
View source: R/distance.comoving.R
compute the comoving distance (line-of-sight) [Mpc/h]
1 | distance.comoving(z, cosmo, z0 = 0, ...)
|
z |
redshift upper limit |
cosmo |
cosmological parameter list |
z0 |
redshift lower limit |
... |
pass to integrate() to control integration accuracy. |
Comoving distance from z_0(=0) to z to z [Mpc/h]
Equation (15) in [H99]
1 2 | distance.comoving(0.2,parameter.fidcosmo,z0=0.3)
sapply(seq(0,1,0.1),function (x) distance.comoving(x,parameter.fidcosmo))
|
[1] -264.3715
[1] 0.0000 292.9181 571.7063 836.0778 1086.0823 1322.0378 1544.4594
[8] 1753.9947 1951.3690 2137.3426 2312.6802
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.