1r.regression.line(1)          Grass User's Manual         r.regression.line(1)
2
3
4

NAME

6       r.regression.line  - Calculates linear regression from two raster maps:
7       y = a + b*x
8

KEYWORDS

10       raster, statistics
11

SYNOPSIS

13       r.regression.line
14       r.regression.line help
15       r.regression.line map1=string map2=string  [output=string]
16
17   Parameters:
18       map1=string
19           Map for x coefficient
20
21       map2=string
22           Map for y coefficient
23
24       output=string
25           ASCII file for storing regression coefficients (output to screen if
26           file not specified).
27

DESCRIPTION

29       r.regression.line  Calculates  linear  regression from two raster maps,
30       according to the formula y = a + b*x, where x and  y  represent  raster
31       maps.  Optionally saves regression coefficients to an ASCII file.
32

EXAMPLE

34       Comparison of the old and the new DEM in Spearfish:
35       g.region rast=elevation.10m
36       r.regression.line elevation.dem map2=elevation.10m
37
38

AUTHOR

40       Dr. Agustin Lobo - alobo@ija.csic.es
41       Updated to GRASS 5.7 Michael Barton, Arizona State University
42
43       Last changed: $Date: 2005/08/30 14:57:07 $
44
45       Full index
46
47
48
49GRASS 6.2.2                                               r.regression.line(1)
Impressum