[STATSGRASS] correlation matrix

Carlos "Guâno" Grohmann carlos.grohmann at gmail.com
Wed Jun 27 09:20:07 EDT 2007


Hello, I'd like to make some correlation matrix for raster maps in R.
I tried to
> map1<-readRAST6("lageado_10k_fisher_K_15x15")
> map2<-readRAST6("lageado_10k_fisher_K_25x25")
> cor(map1,map2)
Error: is.atomic(y) is not TRUE

What is my mistake? I can' make cor() with SpatialGridDataFrame?
Can I make it with several maps at once?

BTW, the maps have the same size, resolution, etc.
thanks

Carlos


-- 
+-----------------------------------------------------------+
              Carlos Henrique Grohmann - Guano
  Visiting Researcher at Kingston University London - UK
  Geologist M.Sc  - Doctorate Student at IGc-USP - Brazil
Linux User #89721  - carlos dot grohmann at gmail dot com
+-----------------------------------------------------------+
_________________
"Good morning, doctors. I have taken the liberty of removing Windows 95 from
my hard drive."
--The winning entry in a "What were HAL's first words" contest judged by
2001: A SPACE ODYSSEY creator Arthur C. Clarke
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.osgeo.org/pipermail/grass-stats/attachments/20070627/cd195d4b/attachment.html


More information about the grass-stats mailing list