Description Usage Arguments Value Author(s) Examples
Computes the total population of simulation areas using the constrain variables.
1 2 3 |
Tx |
census data |
breaks |
positions of the variable breaks in the census |
area_id_pos |
(optional, default=FALSE) position of the area id on the
census. If FALSE the function will try to use |
area_id |
(optional, default=FALSE) vector of area codes to be used. If
If FALSE the function will try to use |
pop_benchmark |
(optional, default=FALSE) define the benchmark to be
used for the computation of the total population, pass as a vector
containing the breaks of the benchmark (e.g. |
pop_total_col |
(optional, default=FALSE) col containing the population totals |
total_pop population total for each simulation area
M. Esteban Munoz H.
1 2 | data("GREGWT.census")
total_pop <- getPopulation(GREGWT.census, c(11,17), area_id_pos=1)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.