StatFields | R Documentation |
Prepares data before being handled by geom_fields()
StatFields
stat_fields(
mapping = NULL,
data = NULL,
geom = "fields",
position = "identity",
na.rm = FALSE,
show.legend = NA,
inherit.aes = TRUE,
...
)
mapping |
Set of aesthetic mappings created by |
data |
Can be one of four things:
|
geom |
The layer type for which the data is prepared. In this case |
position |
A position adjustment to use on the data for this layer. This
can be used in various ways, including to prevent overplotting and
improving the display. The
|
na.rm |
If |
show.legend |
logical. Should this layer be included in the legends?
|
inherit.aes |
If |
... |
Other arguments passed on to
|
An object of class StatFields
(inherits from StatSf
, Stat
, ggproto
, gg
) of length 3.
Returns a layer that can be further modified by geom_fields()
.
Pepijn de Vries
stat_fields()
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.