Hi, I desire to customise the key.entries parameter of the bubble function (package sp) to define classes of values to present on my map.
I first try to use classIntervals (from classInt package) to define classes of values and then call it in the key.entries argument. But I didn't succeed. I try to play with key.entries, but I didn't succeed to modify the size of circles on the map, just on the legend. Where I'm doing wrong? or is key.entries the right argument to modify, in order to change the display of the bubble function? require(sp) data(meuse) coordinates(meuse) = ~x+y bubble(meuse["zinc"], maxsize=3, key.entries = c(10,100,1000,10000)) bubble(meuse["zinc"], maxsize=3, key.entries = c(10,500,1500,10000)) bubble(meuse["zinc"], maxsize=3, key.entries = c(10,800,1600,10000)) bubble(meuse["zinc"], maxsize=3, key.entries = c(10,3000,10000)) Maybe I don't understand well how to use this function, so if you have any idea or documentation that I should read, just let me know. Thanks, Siméon -- View this message in context: http://r-sig-geo.2731867.n2.nabble.com/Class-range-on-bubble-plot-tp7580516.html Sent from the R-sig-geo mailing list archive at Nabble.com. _______________________________________________ R-sig-Geo mailing list [email protected] https://stat.ethz.ch/mailman/listinfo/r-sig-geo
