powered by
Calculates default Gompertz parameters for a given age, country and sex, based on the package build-in HMD life tables.
get_default_gompertz_parameters( age, country = unique(life_tables$country), sex = c("both", "male", "female") )
A list containing:
The mode of the Gompertz distribution
The dispersion parameter of the Gompertz distribution
The current age parameter
The maximum age parameter
A numeric. The age of the individual.
A character. The name of the country.
A character. The sex of the individual.
calc_gompertz_parameters()
get_default_gompertz_parameters( age = 65, country = "USA", sex = "male" )
Run the code above in your browser using DataLab