View source: R/group_HP_project.R
group_HP_project | R Documentation |
Produces 5 year forecasts out to specified year for multiple
group_HP_project( DF, smooth = TRUE, years_out = 30, cwr_df = NULL, ccr_df = NULL, par_year = NULL, proj_year = NULL )
DF |
data frame of 18 age groups and 2 sexs for any number of groups for any number of years of data |
smooth |
use Inoue smoothing for groups |
years_out |
int how many years out to forecast from proj_year |
cwr_df |
df precalculated CWR values |
ccr_df |
df precalculated CCR values |
par_year |
year to build parameters from |
proj_year |
year to start projections from |
data frame object with projected values
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.