linemap: Create maps made of Lines

R-CMD-check Codecov test coverage CRAN_Status_Badge

linemap() displays a map made of lines using a raster or gridded data.

Installation

You can install linemap from CRAN with:

install.packages("linemap")

Example

The package contains one function: linemap().

library(linemap)
r <- terra::rast(system.file("tif/elevation.tif", package = "linemap"))
opar <- par(mar = c(0,0,0,0), bg = "grey10")
linemap(r)
par(opar)

Inspiration

Unknown Pleasures (Joy Division)
Population Lines: How and Why I Created It (James Cheshire)
GeospatialLineGraphs (Ryan Brideau)

Alternative