Description Usage Arguments Value
View source: R/makeCoastBuffer.R
Make a line that is parallel to the world's coastlines at a specific distance. See vignette("Smooth Coastline Data")
for how these data were created for the package.
1 2 3 4 5 6 | makeCoastBuffer(
d = 300,
units = "km",
crs.to.use = "wintri",
remove.holes = TRUE
)
|
d |
distance from the coastline |
units |
what units the distance is in |
crs.to.use |
name of the projection. must be one that the sp package recognizes |
remove.holes |
TRUE/FALSE. If TRUE (default), the interior polygons are removed |
a list with a SpatialPolygons, SpatialLines and dataframe object
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.