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



rCarto/linemap documentation built on Dec. 4, 2023, 1:06 a.m.