[R-sig-Geo] Mapping multiple attributes at once

Robert J. Hijmans r.hijmans at gmail.com
Mon Aug 23 18:25:21 CEST 2010


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

On Mon, Aug 23, 2010 at 7:26 AM, Thiago Veloso <thi_veloso at yahoo.com.br> wrote:
>   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 at stat.math.ethz.ch
> https://stat.ethz.ch/mailman/listinfo/r-sig-geo
>
>



More information about the R-sig-Geo mailing list