Description Usage Arguments Examples
Given a individual level population dataset and variables of interest, count the number of population and the fraction of that subpopulationin the geography of interest
1 | count_cellsize(size, popvar, geovar, ...)
|
size |
A population, or census data frame |
popvar |
The variable that indicates the population |
geovar |
The variable that indicates the final grouping variable of interest |
... |
variables that are in the regression |
1 2 | size <- read_csv("https://www.shirokuriwaki.com/datasets/popsize08.csv")
size_cell <- count_cellsize(size, popvar = pop2008, geovar = stt, eth, age, sex, inc, edu)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.