plot_map_wqis | R Documentation |
Creates a ggplot2 object with a polygon of British Columbia with the Water Quality Index categories indicated by the fill colour of points.
plot_map_wqis(
data,
x = "Long",
y = "Lat",
size = 3,
shape = 21,
keep = NULL,
input_proj = NULL
)
data |
A data.frame of WQI values to plot. |
x |
A string of the column in data to plot on the x axis. |
y |
A string of the column in data to plot on the y axis. |
size |
A number of the point size or string of the column in data to represent by the size of points. |
shape |
An integer of the point shape (permitted values are 21 to 25) or string of the column in data to represent by the shape of points. |
keep |
An optional character vector indicating which columns in addition to x and y to keep before dropping duplicated rows to avoid overplotting. |
input_proj |
An optional valid proj4string. Defaults to
( |
plot_wqis
and plot_map
## Not run:
demo(fraser)
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.