[GRASSLIST:5820] Re: linear regression of 2 rasters
Hamish
hamish_nospam at yahoo.com
Wed Feb 16 17:41:54 EST 2005
> Is there any simple way in GRASS to do a linear regression of 2 raster
> files, or would I need to first subsample with vector points?
GRASS 6.0beta2 > r.regression.line --help
Description:
Calculates linear regression from two raster maps: y = a + b*x
Usage:
r.regression.line map1=name map2=name [output=name]
Parameters:
map1 Map for x coefficient
map2 Map for y coefficient
output ASCII file for storing regression coefficients (output to
screen if file not specified).
or maybe r.covar?
Hamish
More information about the grass-user
mailing list