N R A (nra at cix.compulink.co.uk ) writes on 10 Oct 94:
>Is there a simple program available that will allow me to determine the
>average value for a raster data set.
r.stats -q1 soils.ph | awk 'BEGIN{sum=0}{sum+=$1}END{print sum/NR}'
3.25519
--Darrell