On 12/04/2013 08:59 AM, Jim Lemon wrote:
On 12/04/2013 05:26 AM, Zilefac Elvis wrote:
Hi,
I have rainfall data from 100 locations, with coordinates for each
location available.
Now, I have a correlation matrix showing the correlation between
rainfall at a single location against all other locations and so on
for the 100 locations.
How can I visualize this correlation matrix using XY coordinate system
instead of the correlogram in R.
Hi Zilefac,
Have a look at the color2D.matplot function in plotrix. See the first
example.
On reading your message more carefully, I think you want a choropleth
map, so use color.scale to get the fill colors and the maps package to
plot them.
Jim
______________________________________________
R-help@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.