map_atlas | R Documentation |
Maps a set of values to regions/parcels in an atlas object. This can be used to visualize data (like statistics or measurements) across atlas regions.
map_atlas(x, vals, thresh, ...)
x |
An atlas object to map values onto |
vals |
Numeric vector of values to map to atlas regions. Length should match the number of regions in the atlas |
thresh |
Optional numeric vector of length 2 specifying (min, max) thresholds for the mapped values. Values outside this range will be clamped. |
... |
Additional arguments passed to methods |
Returns the atlas object with mapped values
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.