Learn R Programming

pliman (version 3.1.0)

shapefile_plot: A wrapper around terra::plot()

Description

Plot the values of a SpatVector

Usage

shapefile_plot(shapefile, ...)

Value

A NULL object

Arguments

shapefile

An SpatVector of sf object.

...

Further arguments passed on to terra::plot().

Examples

Run this code
if(interactive()){
library(pliman)
r <- shapefile_input(system.file("ex/lux.shp", package="terra"))
shapefile_plot(r)
}

Run the code above in your browser using DataLab