Note: This document is for an older version of GRASS GIS that is outdated. You should upgrade, and read the current manual page.
r.kappa calculates the error matrix of the two map layers and prepares the table from which the report is to be created. kappa values for overall and each classes are computed along with their variances. Also percent of commission and ommission error, total correct classified result by pixel counts, total area in pixel counts and percentage of overall correctly classified pixels are tabulated.
The report will be write to an output file which is in plain text format and named by user at prompt of running the program.
The body of the report is arranged in panels. The classified result map layer categories is arranged along the vertical axis of the table, while the reference map layer categories along the horizontal axis. Each panel has a maximum of 5 categories (9 if wide format) across the top. In addition, the last column of the last panel reflects a cross total of each column for each row. All of the categories of the map layer arranged along the vertical axis, i.e., the reference map layer, are included in each panel. There is a total at the bottom of each column representing the sum of all the rows in that column.
NA's in output file mean non-applicable in case MASK exists.
r.kappa -w classification=lsat7_2002_classes reference=training
Last changed: $Date: 2012-12-16 04:49:04 -0800 (Sun, 16 Dec 2012) $
Main index - raster index - Full index
© 2003-2014 GRASS Development Team