mf_base: Plot an sf object

Description Usage Arguments Value Examples

View source: R/mf_base.R

Description

Plot an sf object. This is mostly a wrapper around plot(st_geometry(x), ...).

Usage

1
mf_base(x, col = "grey80", border = "grey20", lwd = 0.7, add = FALSE, ...)

Arguments

x

object of class sf or sfc

col

color

border

border color

lwd

border width

add

whether to add the layer to an existing plot (TRUE) or not (FALSE)

...

further parameters from plot for sfc objects

Value

x is (invisibly) returned.

Examples

1
2
3
4
library(sf)
mtq <- mf_get_mtq()
mf_base(mtq)
mf_base(mtq, col = "blue")

mapsf documentation built on Sept. 24, 2021, 5:06 p.m.