facet_transform_geos_by_group | R Documentation |
The data in each group will be transformed using a Lambert Equal Area Conic centred at the group's geometry and centered. The projection preserves area, so this is useful if area comparisons desired. Alternatively the 'scale_to_fill“option can be used to scale the geometry to fill each facet to the specified 'aspect_ratio'.
facet_transform_geos_by_group(
data,
...,
scale_to_fill = FALSE,
aspect_ratio = 1
)
data |
datafrae with the geometries |
... |
arguments to group by, these should be the same arguments used for faceting |
scale_to_fill |
logical, will scale the geometries to fill each facet |
aspect_ratio |
the aspect ratio for each facet, only used if scale_to_fill is 'TRUE' |
a data frame with transformed geometries and 'NA' crs
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.