Re: [R] How to plot data using ggplot

2014-04-07 Thread PIKAL Petr
Hi -Original Message- From: r-help-boun...@r-project.org [mailto:r-help-bounces@r- project.org] On Behalf Of drunkenphd Sent: Friday, April 04, 2014 8:53 PM To: r-help@r-project.org Subject: Re: [R] How to plot data using ggplot djmuseR wrote Do you mean a continuous range

[R] How to plot data using ggplot

2014-04-04 Thread drunkenphd
Hi, I have a list of cities and their coordinates, and also for each city I have a variable varA which I want to represent in a map using ggplot. For example : CityA lat 22.93977 lon 46.70663varA 545 CityB lat 23.93977 lon 46.70663varA 122 VarA values begin from 0 to 3000. I

Re: [R] How to plot data using ggplot

2014-04-04 Thread Dennis Murphy
1. Look into the ggmap package if you want to overlay your data onto a map. 2. Re your color scale representation, define 'appropriately'. Do you mean a continuous range expressible in a colorbar or a discrete range, and if the latter, what intervals did you have in mind? Dennis On Fri, Apr 4,

Re: [R] How to plot data using ggplot

2014-04-04 Thread drunkenphd
djmuseR wrote Do you mean a continuous range expressible in a colorbar or a discrete range, and if the latter, what intervals did you have in mind? I mean diskrete values like : 54508 25 101 420 95 928 24 1656 108 18 213 70. The problem is that range is from 0-4000