Create map for a data.frame containing points.
Usage
plot_points(df, value, lon = "lon", lat = "lat", crs = 4326, at = NULL)
Arguments
- df
data.frame containing columns for longitude and latitude.
- value
column in df
to be visualized.
- lon
column in df
containing longitude values.
- lat
column in df
containing latitude values.
- crs
crs code for the coordinate reference system (default is 4326).
- at
the breakpoints used for visualisation.
Examples
if (FALSE) { # \dontrun{
plot_points(Groningen, value = "amount")
} # }