plot_map {pRecipe} | R Documentation |
Convenient and aesthetic visualization of data in a map
plot_map(x, unit = "mm")
## S4 method for signature 'Raster'
plot_map(x, unit = "mm")
## S4 method for signature 'data.table'
plot_map(x, unit = "mm")
## S4 method for signature 'character'
plot_map(x, unit = "mm")
x |
Raster* object; data.table (see details); filename (character, see details) |
unit |
character |
If 'x' is a data.table, its columns should be named: "lon", "lat", "date", and "value"
If 'x' is a filename, it should point to a *.nc file.
'unit' is a character string describing the unit of measurement to be used for the legend title
ggplot object