Learn R Programming

CRAC (version 1.0)

rhoc: calculate the critical density at redshift z

Description

calculate the critical density at redshift z

Usage

rhoc(z, cosmo)

Arguments

z
redshift
cosmo
cosmological parameter list

return the critical densith at given redshift in $h_0^2 \mathrm{kg/m}^3]$

Examples

Run this code
# get the critial density at z=0
 rhoc(0,parameter.fidcosmo)

Run the code above in your browser using DataLab