Description Usage Arguments Details Value See Also Examples
View source: R/make_tfr_fert_rates.R
Given an age pattern for fertility and a sex ratio at birth, calculate the age-sex-specific fertility rates that would yield a target total fertility rate (TFR).
1 | make_tfr_fert_rates(tfr, propn_age_fert, sex_ratio)
|
tfr |
The target total fertility rate. A positive number. |
propn_age_fert |
A |
sex_ratio |
The number of male births per 100 female births. |
propn_age_fert
must be a
Counts
array, with a single dimension. The dimension must have
dimtype
"age"
,
and dimscale
"Intervals"
.
A Values
object with
"age"
and "sex"
dimensions.
1 2 3 4 | propn_age_fert <- dembase::Values(propn_age_fert_booth)
make_tfr_fert_rates(tfr = 5,
propn_age_fert = propn_age_fert,
sex_ratio = 105)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.