  Dear Mayeul,
  Thanks for your tip. I am surely going to analyse the code and try to reproduce it.
  But instead of colouring the municipalities, the only variable I need to work with would be the indicative circles, something like this example: http://img836.imageshack.us/img836/7021/fig6vdist.png
  Best wishes,
  Thiago.

--- On Tue, 24/8/10, Mayeul KAUFFMANN <mayeul.kauffmann@jrc.ec.europa.eu> wrote:

From: Mayeul KAUFFMANN <mayeul.kauffmann@jrc.ec.europa.eu>
Subject: RE: [R-sig-Geo] Mapping multiple attributes at once
To: "'Robert J. Hijmans'" <r.hijmans@gmail.com>, "'Thiago Veloso'" <thi_veloso@yahoo.com.br>
Cc: r-sig-geo@stat.math.ethz.ch
Date: Tuesday, 24 August, 2010, 4:59

I you want a more advanced example, you may want to have a look at this US
election map:
http://addictedtor.free.fr/graphiques/RGraphGallery.php?graph=113
(source code here: http://www.ai.rug.nl/~hedderik/R/US2004/ )
Mayeul

_____________________________________________________
Dr. Mayeul KAUFFMANN, Conflict Specialist
European Commission, Joint Research Centre (JRC)
Institute for the Protection and Security of the Citizen (IPSC)
Global Security and Crisis Management - ISFEREA
Via E. Fermi 2749 - I-21027 Ispra (VA), ITALY
Phone: (+39) 033278 5071
http://isferea.jrc.ec.europa.eu/Staff/Pages/Kauffmann-Mayeul.aspx

(Office: building 48c, 1st floor, room 123. TP: 483)

-----Original Message-----
From: r-sig-geo-bounces@stat.math.ethz.ch
[mailto:r-sig-geo-bounces@stat.math.ethz.ch] On Behalf Of Robert J. Hijmans
Sent: Monday, August 23, 2010 6:25 PM
To: Thiago Veloso
Cc: r-sig-geo@stat.math.ethz.ch
Subject: Re: [R-sig-Geo] Mapping multiple attributes at once

Dear Thiago,

If you are using (basic) 'plot' you can pass a vector with the
required sizes, i.e. your variable, perhaps after a transformation, as
cex argument. Same approach works for col.

plot(1:10, cex=c(1:5,1:5), col=rep(c('red', 'blue'), each=5), pch=20)

Robert


ote:
>   Dear SIG colleagues,
>   In my present study I need to plot a map containing two different attributes
of some localities.    I figured out that a convenient and didactic way would be
via something like bubble plots. For example, the size of the circle would be
proportional to a certain range of values (4 categories) and its inner colors
(also 4 categories) would be proportional to the p-values of a statistical test.
>   Is it possible to implement that idea using SIG tools in R? Any suggestions
on how to do it??
>   Thanks in advance and best wishes,
>   Thiago.
>
>
>
>        [[alternative HTML version deleted]]
>
>
> _______________________________________________
> R-sig-Geo mailing list
> R-sig-Geo@stat.math.ethz.ch
> https://stat.ethz.ch/mailman/listinfo/r-sig-geo
>
>

_______________________________________________
R-sig-Geo mailing list
R-sig-Geo@stat.math.ethz.ch
https://stat.ethz.ch/mailman/listinfo/r-sig-geo




      
	[[alternative HTML version deleted]]

