[GRASS-user] r.covar and its n-value

Moritz Lennert mlennert at club.worldonline.be
Fri May 2 02:27:07 PDT 2014


On 01/05/14 20:12, Vladimír Fárek wrote:
> Hello friends,
> I'm little bit confused about the r.covar correlation outputs. Do
> r.covar counts all cells in compared grids, or uses it only
> sample-cells? How to find out the n-value of given outputs?

n is the number of non-null cells in the current region. Null cells are 
all cells for which at least one of the map has a null-value.

I just committed a small addition to r.covar in grass_trunk that also 
outputs the N value.

Moritz


More information about the grass-user mailing list