<html style="direction: ltr;">
  <head>

    <meta http-equiv="content-type" content="text/html; charset=UTF-8">
    <style type="text/css">body p { margin-bottom: 0cm; margin-top: 0pt; } </style>
  </head>
  <body bidimailui-charset-is-forced="true" style="direction: ltr;"
    text="#000000" bgcolor="#FFFFFF">
    <p>I am preparing a correlation matrix for 7 raster layers. The
      results using the<font size="+1"> </font><tt><font size="+1">r.covar</font>
      </tt>module are different from the R <font size="+1"><tt>layerStats</tt></font>
      function. I suspect this is due to handling of null cells. The R
      function has a parameter to remove NA cells, but the GRASS module,
      I think, just loops over all cells, including no value. <br>
    </p>
    <p><br>
    </p>
    <p>Can anyone confirm that GRASS does not deal with null cells, and
      that this would cause the difference in correlation results?</p>
    <p><br>
    </p>
    <p>Thanks<br>
    </p>
    <pre class="moz-signature" cols="72">-- 
Micha Silver
Ben Gurion Univ.
Sde Boker, Remote Sensing Lab
cell: +972-523-665918</pre>
  </body>
</html>