View source: R/11-visualization.R
| quick_map | R Documentation |
Ultra-simple function for quick spatial mapping. Auto-detects data type and creates appropriate map.
quick_map(spatial_data, variable = NULL, title = NULL, ...)
spatial_data |
Any spatial data |
variable |
Variable to visualize (optional, auto-detected) |
title |
Map title (optional) |
... |
Additional arguments passed to create_spatial_map |
Map object
## Not run:
# These examples require external data files not included with the package
quick_map("data.shp")
quick_map(my_raster)
quick_map(points_data, interactive = TRUE)
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.