linemap {linemap} | R Documentation |
Create Line Map
Description
Plot a line map.
Usage
linemap(
x,
k = 2,
threshold = 1,
col = "white",
border = "black",
lwd = 0.5,
bg = par("bg"),
add = FALSE
)
Arguments
x |
a data.frame (x, y, value), a terra SpatRaster. |
k |
expension factor. |
threshold |
threshold of the data to plot. |
col |
color for the lines areas. |
border |
color for the lines borders. |
lwd |
thickness of the lines. |
bg |
background color |
add |
if TRUE add the lines to the current plot. |
Examples
ras <- terra::rast(system.file("tif/elevation.tif", package = "linemap"))
linemap(ras, k = 7)
[Package linemap version 0.3.0 Index]