R/map_wq.R
Map_WQ_raster.Rd
This function wraps the tmap package to help users generate fast and simple data visualization of their WQ_calc raster output along with optional geospatial objects and histogram
Map_WQ_raster(
WQ_raster,
sample_points,
map_title,
raster_style = "quantile",
histogram = TRUE
)
Raster file generated from wq_calc
or other GeoTiff file
geospatial file (.shp or .gpkg) containing sampling locations
text used to generate title of map
method to process the color scale when col is a numeric variable. Please refer to the style argument in the ?tmap::tm_raster() function for more details (Default is "quantile").
Option to add or remove a histogram of the data values. (Default is TRUE)
A data visualization of the results