An embedded and charset-unspecified text was scrubbed... Name: not available URL: <https://stat.ethz.ch/pipermail/r-help/attachments/20131203/c04013bd/attachment.pl>
Spatial Correlation Map using R
4 messages · Jim Lemon, Zilefac Elvis
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. Jim
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
An embedded and charset-unspecified text was scrubbed... Name: not available URL: <https://stat.ethz.ch/pipermail/r-help/attachments/20131203/da0221de/attachment.pl>