View source: R/project_variants.R
pasfr_given_tfr | R Documentation |
This function returns the proportional age-specific fertility rates given a projected level of total fertility by converging the initial pasfr to a global model
pasfr_given_tfr( PasfrGlobalNorm, pasfr_observed, tfr_observed_projected, years_projection = 2022:2100, num_points = 15 )
PasfrGlobalNorm |
matrix. output from pasfr_global_model() function |
pasfr_observed |
matrix. with age in single years from 10 to 54 in rows and year in columns. Value is country estimates of pasfr |
tfr_observed_projected |
numeric vector. TFR values for the country. Names are years. |
years_projection |
numeric vector. Years for which pasfr is to be projected |
num_points |
numeric scalar. The number of past point estimates to be used to model pasfr |
accesses the global model in the data frame "pasfr_global_model"
a matrix of pasfr with age in rows and years in columns
Sara Hertog
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.