powered by
Create a map of the provided variable on the RESOURCECODE field grid
rscd_mapplot( z, name = "Depth (m)", zlim = NULL, palette = "YlOrRd", direction = 1, transform = "identity" )
a ggplot2 object
the data ro plot: a vector of the same size as the grid (328,030 rows).
name of the variable plored, to be included in the legend.
limits of the scale. See continuous_scale for details.
continuous_scale
If a string, will use that named palette. See scale_colour_brewer for other options.
scale_colour_brewer
Sets the order of colours in the scale. See scale_colour_brewer for details.
Transformation to apply to the color scale. See continuous_scale for details.
if (FALSE) { # identical(tolower(Sys.getenv("NOT_CRAN")), "true") rscd_mapplot(resourcecodedata::rscd_field$depth) }
Run the code above in your browser using DataLab