Rdocumentation
powered by
Learn R Programming
CRAC (version 1.0)
Cosmology R Analysis Code
Description
R functions for cosmological research. The main functions are similar to the python library, cosmolopy.
Copy Link
Link to current version
Version
Version
1.0
Install
install.packages('CRAC')
Monthly Downloads
13
Version
1.0
License
GPL (>= 2)
Maintainer
Jiayi Liu
Last Published
February 15th, 2014
Functions in CRAC (1.0)
Search all functions
eZ
compute E(z) of given cosmology
distance.comoving
compute the comoving distance (line-of-sight) [Mpc/h]
eZ2
compute E^2(z) of given cosmology
valid.cosmo
validate the cosmologial parameters are enough
parameter.fidcosmo
Fiducial cosmology parameter list
parameter.constant
Physical constants in SI units, source: [PDG]
parameter.unit
useful conversion of astrophysical units
rhoc
calculate the critical density at redshift z
distance.angular
compute the angular diameter distance [Mpc/h]
distance.luminosity
Compute the luminosity distance [Mpc/h]
parameter.DH
Hubble Distance $D_H = c/H_0$ [Mpc/h]
distance.transverse
compute the comoving distance (transverse) [Mpc/h]