Description Usage Arguments Value Examples
Create map for data.frame with points.
1 2 3 4 5 6 7 8 9 | plot_points(
df,
value,
lon = lon,
lat = lat,
palette = "viridis",
legend_position = "bottomleft",
crs = 4326
)
|
df |
data.framw with column for lon and lat |
value |
column in df |
lon |
column with lon |
lat |
column with lat |
palette |
color palette |
legend_position |
position for legend (default is "bottomleft") |
crs |
crs (default is 4326) |
leaflet map
1 2 3 4 | ## Not run:
plot_points(Groningen, value = amount)
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.