Learn R Programming

sf (version 0.2-2)

st_as_grob: convert sf* object to a grob

Description

convert sf* object to an grid graphics object (grob)

Usage

st_as_grob(x, ..., units = "native")

Arguments

x
object to be converted into an object class grob
...
passed on to the xxxGrob function, e.g. gp = gpar(col = 'red')
units
units; see unit