r - How to use continuous variable 2d distribution with ggmap -


I can create a map to copy the example given below which shows the density of the points in the map, but I Want to see the quantitative variation of "dist" distribution, on Table W, what should I do to do?

As an example

but with stat_dummary2d instead of stat_density2d

W in letters 1-3.844117 -32.44028 0.23 2 -3.841167 -32.3 9318 0.86 3 -3.808283 -32.38135 0.13 4 -3.815583 -32.39295 0.15 5 -3.844267 -32.44015 0.16 6 -3.845600 -32.44220 0.20 7 -3.866700 - 32.45778 0.67 8 -3.833467 -32.3 9 752 0.22 9 -3.871400 -32.46202 0.12 10 -3.833467 -32.39752 0.62 12 -3.833467 -32.39752 0.14 13 -3.833467 -32.39752 0.22 14 -3.833467 -32.39752 0.14 15 -3.833467 -32.39752 0.16 16 -3.872283 -32.42713 0.06 17 -3.849217 -32.39095 0.10 18-3.833467 -32.39752 0.57 Library (GGMAP) Center & lt; - c (-3.858331, -32.423985) Fernando.map < - get_map (location = C (center [2], center [1]), zoom = 13, color = "bw") ggmap (fernando.map, extent = "normal", mPrange = FALSE)% +% W + Aes (x = lon, y = lat) + # geom_density2d () + stat_density2d (aes (fill = ..level .., alpha = .. level .., color = dist), size = 0.01, bins = 16, geom = 'Polygon')


Comments

Popular posts from this blog

python - Overriding the save method in Django ModelForm -

html - CSS autoheight, but fit content to height of div -

qt - How to prevent QAudioInput from automatically boosting the master volume to 100%? -