Description Usage Arguments Details Value See Also
View source: R/estimate_account.R
Estimate consistent counts of population, births, deaths, and migration. All counts are estimated from scratch.
1 2 3 4 5 6 7 8 9 | estimate_account(
rates,
data_models,
dominant = "Female",
n_particle = 1000,
n_thin = 1,
threshold = 0.5,
n_thread = NULL
)
|
rates |
A named list of data frames giving rates
for births, deaths, and migration, as described
in |
data_models |
A list of data models. Within each series, the models should be ordered according to reliability of the data, with most reliable coming first. |
dominant |
Which sex/gender is used in the denominantor
when calculating fertility rates. Defaults to |
n_particle |
The number of particles to create. Defaults to 1000. |
n_thin |
Outputs contain |
threshold |
Threshold for triggering resampling. A number between 0 and 1. Defaults to 0.5. |
n_thread |
Number of threads to be used in parallel processing. Currently ignored. |
If rates
and data_models
have "region"
,
columns, the order of the regions is taken from
the deaths dataset in rates
.
A data frame holding a demographic account.
extend_account
, forecast_account
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.