plot_spatial_or_ST | R Documentation |
Takes an object of class Spatial*DataFrame
or STFDF
, and plots requested data columns using ggplot2
plot_spatial_or_ST(
newdata,
column_names,
map_layer = NULL,
subset_time = NULL,
palette = "Spectral",
plot_over_world = FALSE,
labels_from_coordnames = TRUE,
...
)
## S4 method for signature 'STFDF'
plot_spatial_or_ST(
newdata,
column_names,
map_layer = NULL,
subset_time = NULL,
palette = "Spectral",
plot_over_world = FALSE,
labels_from_coordnames = TRUE,
...
)
## S4 method for signature 'SpatialPointsDataFrame'
plot_spatial_or_ST(
newdata,
column_names,
map_layer = NULL,
subset_time = NULL,
palette = "Spectral",
plot_over_world = FALSE,
labels_from_coordnames = TRUE,
...
)
## S4 method for signature 'SpatialPixelsDataFrame'
plot_spatial_or_ST(
newdata,
column_names,
map_layer = NULL,
subset_time = NULL,
palette = "Spectral",
plot_over_world = FALSE,
labels_from_coordnames = TRUE,
...
)
## S4 method for signature 'SpatialPolygonsDataFrame'
plot_spatial_or_ST(
newdata,
column_names,
map_layer = NULL,
subset_time = NULL,
palette = "Spectral",
plot_over_world = FALSE,
labels_from_coordnames = TRUE,
...
)
newdata |
an object of class |
column_names |
a vector of strings indicating the columns of the data to plot |
map_layer |
(optional) a |
subset_time |
(optional) a vector of times to be included; applicable only for |
palette |
the palette supplied to the argument |
plot_over_world |
logical; if |
labels_from_coordnames |
logical; if |
... |
optional arguments passed on to whatever geom is appropriate for the |
A list of ggplot
objects corresponding to the provided column_names
. This list can then be supplied to, for example, ggpubr::ggarrange()
.
plot
## See example in the help file for FRK
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.