linemap

Create maps made of (ridge) lines

116
6
R

output: github_document

knitr::opts_chunk$set(
  collapse = TRUE,
  comment = "#>",
  fig.path = "man/figures/README-",
  fig.width = 8,
  fig.height = 8,
  fig.show = "hold"
  
)

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