knitr::opts_chunk$set( collapse = TRUE, comment = "#>", fig.path = "man/figures/README-", fig.width = 8, fig.height = 8, fig.show = "hold" )
linemap()
displays a map made of lines using a raster or gridded data.
You can install linemap
from CRAN with:
install.packages("linemap")
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)
Unknown Pleasures (Joy Division)
Population Lines: How and Why I Created It (James Cheshire)
GeospatialLineGraphs (Ryan Brideau)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.