[GRASS-CVS] markus: grass6/scripts/r.regression.line
r.regression.line, 1.17, 1.18
grass at intevation.de
grass at intevation.de
Tue Dec 4 15:39:51 EST 2007
Author: markus
Update of /grassrepository/grass6/scripts/r.regression.line
In directory doto:/tmp/cvs-serv8053
Modified Files:
r.regression.line
Log Message:
fix to suppress no data; fix for FP maps
Index: r.regression.line
===================================================================
RCS file: /grassrepository/grass6/scripts/r.regression.line/r.regression.line,v
retrieving revision 1.17
retrieving revision 1.18
diff -u -d -r1.17 -r1.18
--- r.regression.line 3 Dec 2007 22:52:43 -0000 1.17
+++ r.regression.line 4 Dec 2007 20:39:49 -0000 1.18
@@ -90,7 +90,7 @@
#calculate regression equation
-r.stats -c input=$GIS_OPT_MAP1,$GIS_OPT_MAP2 > "$TMP"
+r.stats -cnA input=$GIS_OPT_MAP1,$GIS_OPT_MAP2 > "$TMP"
awk '{tot += $3;sumX +=$1 * $3; sumsqX +=$1*$1*$3;sumY +=$2 * $3; sumsqY +=$2*$2*$3;\
sumXY +=$1*$2*$3;\
}\
More information about the grass-commit
mailing list