Get natural earth world coastline
returns world coastline at specified scale
ne_coastline(scale = 110, returnclass = c("sp", "sf"))scale |
scale of map to return, one of |
returnclass |
'sp' default or 'sf' for Simple Features |
SpatialLinesDataFrame or sf
if (requireNamespace("rnaturalearthdata")) {
sldf_coast <- ne_coastline()
if (require(sp)) {
plot(sldf_coast)
}
}Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.