[GRASS-SVN] r60499 - grass/branches/releasebranch_7_0/raster/r.regression.multi

svn_grass at osgeo.org svn_grass at osgeo.org
Mon May 26 21:41:47 PDT 2014


Author: neteler
Date: 2014-05-26 21:41:47 -0700 (Mon, 26 May 2014)
New Revision: 60499

Modified:
   grass/branches/releasebranch_7_0/raster/r.regression.multi/main.c
Log:
r.regression.multi: enumerate predictor name output (r60423 + r60424)

Modified: grass/branches/releasebranch_7_0/raster/r.regression.multi/main.c
===================================================================
--- grass/branches/releasebranch_7_0/raster/r.regression.multi/main.c	2014-05-26 21:29:44 UTC (rev 60498)
+++ grass/branches/releasebranch_7_0/raster/r.regression.multi/main.c	2014-05-27 04:41:47 UTC (rev 60499)
@@ -475,7 +475,8 @@
 
     for (i = 0; i < n_predictors; i++) {
 
-	fprintf(stdout, "\nb%d=%f\n", i + 1, B[0][i + 1]);
+	fprintf(stdout, "\npredictor%d=%s\n", i + 1, input_mapx->answers[i]);
+	fprintf(stdout, "b%d=%f\n", i + 1, B[0][i + 1]);
 	if (n_predictors > 1) {
 	    double Rsqi, SEi, sumsqX_corr;
 



More information about the grass-commit mailing list