population_projection {popstudy} | R Documentation |
population_projection
Description
Forecasting population using the components method.
Usage
population_projection(...)
Arguments
... |
required arguments for |
Value
population_projection
returns an object of class list
with the following components:
mort |
mortality projections from |
fert |
fertility projections from |
mig |
netmigration projections from |
pop |
the national projections by sex and year. |
Author(s)
Cesar Gamboa-Sanabria
See Also
mortality_projection
TFR_projection
netmigration_projection
Examples
## Not run:
library(dplyr)
data(CR_mortality_rates_1950_2011)
#CR_mortality_rates_1950_2011 %>%
#write.table(.,
#file = "CR_mortality_rates_1950_2011.txt",
#sep = "\t",
#row.names = FALSE,
#col.names = TRUE,
#quote = FALSE)
data(CR_populations_1950_2011)
#CR_populations_1950_2011 %>%
#write.table(.,
#file = "CR_populations_1950_2011.txt",
#sep = "\t",
#row.names = FALSE,
#col.names = TRUE,
#quote = FALSE)
data(CR_fertility_rates_1950_2011)
#CR_fertility_rates_1950_2011 %>%
#write.table(.,
#file = "CR_fertility_rates_1950_2011.txt",
#sep = "\t",
#row.names = FALSE,
#col.names = TRUE,
#quote = FALSE)
data(CR_women_childbearing_age_1950_2011)
#CR_women_childbearing_age_1950_2011 %>%
#write.table(.,
#file = "CR_women_childbearing_age_1950_2011.txt",
#sep = "\t",
#row.names = FALSE,
#col.names = TRUE,
#quote = FALSE)
#result <- population_projection(mortality_rates_path = "CR_mortality_rates_1950_2011.txt",
#total_population_path = "CR_populations_1950_2011.txt",
#TFR_path = "CR_fertility_rates_1950_2011.txt",
#WRA_path = "CR_women_childbearing_age_1950_2011.txt",
#omega_age = 115, first_year_projection = 2011, horizon = 2020)
## End(Not run)
[Package popstudy version 1.0.1 Index]