sp_ggplot | R Documentation |
Spatial Plot Function
sp_ggplot(
data_frame = NULL,
sp = FALSE,
shape = NULL,
legend.key.height = 0.7,
legend.key.width = 0.4,
text.size = 10,
point.size = 0.7,
clr.pt = "black",
palette = "Spectral",
extend = TRUE,
title = NULL,
bound.box = NULL
)
data_frame |
data frame consisting of coordinates and data |
sp |
logical parameter indicating whether to make a spatial plot |
shape |
if sp = TRUE shape file should be provided (should be an sf object) |
legend.key.height |
height of legend (defaults to .7) |
legend.key.width |
width of legend (defaults to .4) |
text.size |
size of legend text (defaults to 10) |
point.size |
size of points to be plotted (defaults to 0.7) |
palette |
(optional) color palette |
extend |
logical parameter indicating whether to extend the interpolation (defaults to TRUE) |
title |
title of the plot (defaults to NULL) |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.