worldMap | R Documentation |
Country borders from naturalearthdata.com
data("worldMap")
https://www.naturalearthdata.com/downloads/110m-cultural-vectors/
# soil data
data("worldMap")
worldMap = terra::unwrap(worldMap)
oldpar=map.new(worldMap)
plot(worldMap, border='red', lwd=3, add=TRUE)
plot(worldMap[worldMap$NAME == 'Brazil',],
add=TRUE, col='green')
par(oldpar)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.