Dear R experts,
I want to create a world oceanic heatmap representing the relative abundance of a variables with a color gradient here is my script:
p1=read.csv("map_ppe_higher2.csv", header=T)
p2=data.frame(p1$Samples,p1$Longitude,p1$Latitude,p1$PPE)
leaflet(p1) %>%
addTiles() %>%
addCircles(lng = ~Longitude
, lat = ~Latitude, weight = 2, color= "red", radius = ~PPE * 22000)
This gives me an output that presents the abundance as circle size in different geographical point. I don't want this, I am looking to generate a heatmap with this style :
Please could you help me with any toy script example from other packages that could help me do this job.
Thanks in advance
Dieunel