Description Usage Arguments Value See Also
View source: R/estimate_account.R
Add extra periods to an existing demographic
account, based on forecasted demographic rates.
The number of extra periods is inferred
from the rates
argument.
1 2 3 4 5 6 7 8 9 | forecast_account(
account,
rates,
dominant = "Female",
n_particle = 1000,
n_thin = 1,
threshold = 0.5,
n_thread = NULL
)
|
account |
A data frame holding a demographic account,
typically created by a call to |
rates |
A named list of data frames giving rates
for births, deaths, and migration, as described
in |
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. |
A data frame holding a demographic account.
estimate_account
, extend_account
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.