Skip to main content
The 2024 Developer Survey results are live! See the results

All Questions

Tagged with
5 votes
2 answers
1k views

R: Connecting Dots on a Map

I am working with the R programming language. Using the "leaflet" library, I made the following map for these 5 cities: library(dplyr) library(leaflet) map_data <- data.frame("Lat&...
stats_noob's user avatar
  • 5,705
5 votes
1 answer
3k views

Add "rgb" legend to R leaflet heatmap

I made some interactive heatmaps using leaflet (particularly the addHeatmap() command from the leaflet.extras package) and shiny. Having created a desired map, I would like to add a legend to it. ...
Crimmlaz's user avatar
4 votes
1 answer
827 views

Customizing Leaflet Map Icons in R

I started to learn how to use the search features in leaflet maps - below is a leaflet map which allows you to search for a city (i.e. single search term): library(leaflet) library(leaflet.extras) ...
stats_noob's user avatar
  • 5,705
3 votes
2 answers
740 views

Combing Leaflet Maps Together

I generated these 2 random dataset about geographical coordinates (e.g. each point represents an imaginary restaurant in France): id = 1:1000 long = 2.2945 + rnorm( 1000, 0.1085246 , 0.1) ...
stats_noob's user avatar
  • 5,705