Description Usage Arguments Value
This assumes that raster values are population in that grid location, not density of the population in the vicinity of that grid location. It divides population by the area of the grid pixel.
1 | urban_fraction_population(density_raster, urban_per_kilometer_sq)
|
urban_per_kilometer_sq |
A number of people to define urban (1000, 1500). |
pop_raster |
A raster::raster in projection |
A vector with c(numerator, denominator) of pixel counts.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.