Learn R Programming

geospatialsuite (version 0.1.1)

quick_map: Quick map function - one-line mapping with auto-detection

Description

Ultra-simple function for quick spatial mapping. Auto-detects data type and creates appropriate map.

Usage

quick_map(spatial_data, variable = NULL, title = NULL, ...)

Value

Map object

Arguments

spatial_data

Any spatial data

variable

Variable to visualize (optional, auto-detected)

title

Map title (optional)

...

Additional arguments passed to create_spatial_map

Examples

Run this code
if (FALSE) {
# 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)
}

Run the code above in your browser using DataLab