Description Usage Arguments Value
Computes total population, maximum population density, percent empty, percent urban, and pareto number. Total population makes sense here because the area is surrounded by water, so that every filled pixel is part of this administrative unit.
1 | summary_statistics(population, density, urban_per_kilometer_sq)
|
population |
raster::raster of population data. |
density |
raster::raster that is density estimated population data |
A list with the statistics, which are maximum value, total population, pareto fraction, urban fraction, and NA fraction. Columns are 'maximum', 'total', 'empty_fraction', 'pareto_fraction', 'urban_fraction', 'na_fraction'.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.