Description Usage Format Source See Also Examples
a raster
object modelled population density 2000 per square km from WorldPop aggregated to mean per 20km squares
1 |
Formal class 'raster';
Geographical coordinates WGS84 datum (CRS EPSG 4326)
https://www.worldpop.org/geodata/summary?id=24757
https://www.worldpop.org WorldPop datasets are licensed under Creative Commons Attribution 4.0 International (CC BY 4.0) https://creativecommons.org/licenses/by/4.0/
1 2 3 4 5 6 7 8 9 | if (requireNamespace("raster", quietly = TRUE)) {
library(raster)
data(afripop2000)
# or
filename <- system.file("extdata","afripop2000.tif", package="afrilearndata", mustWork=TRUE)
afripop2000 <- raster::raster(filename)
plot(afripop2000)
}
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.