r.statistics(1) 	      Grass User's Manual	       r.statistics(1)



NNAAMMEE
       rr..ssttaattiissttiiccss  -	Category  or  object oriented statistics (GRASS Raster
       Program)

SSYYNNOOPPSSIISS
       rr..ssttaattiissttiiccss rr..ssttaattiissttiiccss hheellpp rr..ssttaattiissttiiccss [[--cc]]  bbaassee_=_n_a_m_e  ccoovveerr_=_n_a_m_e
       mmeetthhoodd_=_n_a_m_e [oouuttppuutt_=_n_a_m_e]

DDEESSCCRRIIPPTTIIOONN
       _r_._s_t_a_t_i_s_t_i_c_s  is  a  tool, where different class, resp. object oriented
       statistical analysis methods are possible.

       The methods are the following:


       [english] - [german]


       distribution - Verteilung in Prozent


       average - Durchschnitt


       mode - Modalwert


       median - Median


       average deviation - Durchschnittliche Abweichung


       standard deviation - Standardabweichung


       variance - Varianz


       skewness - Schiefe der Verteilung


       kurtosis - Relative Abflachung (-) oder Zuspitzung (+)


       minimum - Minimum


       maximum - Maximum


       sum - Summe

CCOOMMMMAANNDD LLIINNEE OOPPTTIIOONNSS
   FFllaagg::
       --cc     Values are taken from category  lables  of  the  covering-layer,
	      instead of covering-layer itself.


   PPaarraammeetteerrss::
       bbaassee   Base raster map

       ccoovveerr  Cover raster map

       mmeetthhoodd Statistical method Options: distribution, average, mode, median,
	      avedev, stddev, variance, skewness, kurtosis, min, max, sum

       oouuttppuutt Name of the new layer (not when using 'distribution')

       The calculations will be performed for areas with data of the covering-
       layers which belong in the base-layer o the same category.


       Setting	the  _-_c  flag the category lables of the covering raster layer
       will be used.  This is nice to avoid the GRASS limitation  to  interger
       in raster maps because using category values floating point numbers can
       be stored.


       The output-layer is a reclassified version of the base-layer with iden-
       tical  category	values.  The results of the calculations are stored in
       the category labels of the output-layer.


       The described output is valid for all calculations  with  exception  of
       distribution.  Here  the output is given to stdout. A file name eventu-
       ally specified will be ignored. The result will be a table  with  three
       columns.   In  the  1. column are the category values of the base-layer
       (a), in the 2. column the associated value of the cover-Layers (b)  and
       in the 3. column the percentage of b from a. Example:
					1   124  23
					1   201  47
					1   273  30
					2   101  5
					2   152  16
					2   167  60
					2   187  19
					     .
					     .
					     .


RREEMMAARRKK
       The  source  code of average, mode and median was taken from some GRASS
       raster modules.

BBUUGGSS
       unkown

SSEEEE AALLSSOO
       _r_._n_e_i_g_h_b_o_r_s

AAUUTTHHOORR
       Martin Schroeder, Geographisches Institut Heidelberg, Germany

       _L_a_s_t _c_h_a_n_g_e_d_: _$_D_a_t_e_: _2_0_0_2_/_0_1_/_2_5 _0_5_:_4_5_:_3_4 _$



GRASS 5.0						       r.statistics(1)
