View source: R/set_boundaries.R
set_boundaries | R Documentation |
Set GeoTox boundaries
set_boundaries(x, region = NULL, group = NULL)
x |
GeoTox object. |
region |
"sf" data.frame mapping features to a "geometry" column. Used when coloring map regions. |
group |
"sf" data.frame containing a "geometry" column. Used to draw outlines around groups of regions. |
same GeoTox object with boundaries set.
geoTox <- GeoTox() |>
set_boundaries(region = geo_tox_data$boundaries$county,
group = geo_tox_data$boundaries$state)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.