View source: R/atlas_accessors.R
| atlas_geometry_type | R Documentation |
Classify or test an atlas's 2D geometry
atlas_geometry_type(atlas)
is_atlas_sf(atlas)
is_atlas_polygon(atlas)
atlas |
a ggseg_atlas object |
atlas_geometry_type() returns "sf" or "polygon", and errors if
the atlas has no recognised 2D geometry. is_atlas_sf() /
is_atlas_polygon() return a logical scalar (FALSE for non-atlases).
atlas_geometry_type(dk())
is_atlas_polygon(dk())
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.