Learn R Programming

rnaturalearth (version 0.0.0.9000)

ne_coastline: Get natural earth world coastline

Description

returns world coastline at specified scale

Usage

ne_coastline(scale = 110)

Arguments

scale
scale of map to return, one of 110, 50, 10 or 'small', 'medium', 'large'

Value

A SpatialLinesDataFrame object.

Examples

Run this code
sldf_coast <- ne_coastline()

if (require(sp)) {
  plot(sldf_coast)
}

Run the code above in your browser using DataLab