Skip to content

Commit

Permalink
r.kappa: fix omission typo (#433)
Browse files Browse the repository at this point in the history
Co-authored-by: Markus Neteler <neteler@mundialis.de>
  • Loading branch information
neteler and neteler committed Mar 20, 2020
1 parent 3dcfda8 commit 230258f
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions raster/r.kappa/calc_kappa.c
Expand Up @@ -71,8 +71,8 @@ void calc_kappa(void)
else
kpp[i] = (pii[i] - pi[i] * pj[i]) / (pi[i] - pi[i] * pj[i]);

/* print out the commission and ommission accuracy, and conditional kappa */
fprintf(fd, "\nCats\t%% Commission\t%% Ommission\tEstimated Kappa\n");
/* print out the comission and omission accuracy, and conditional kappa */
fprintf(fd, "\nCats\t%% Comission\t%% Omission\tEstimated Kappa\n");
for (i = 0; i < ncat; i++)
if ((kpp[i] == -999) && (i != 0))
fprintf(fd, "%ld\tNA\t\tNA\t\tNA\n", rlst[i]);
Expand Down
2 changes: 1 addition & 1 deletion raster/r.kappa/r.kappa.html
Expand Up @@ -10,7 +10,7 @@ <h2>DESCRIPTION</h2>
two map layers and prepares the table from which the report
is to be created. <em>kappa</em> values for overall and
each classes are computed along with their variances. Also
percent of commission and ommission error, total correct
percent of comission and omission error, total correct
classified result by pixel counts, total area in pixel
counts and percentage of overall correctly classified
pixels are tabulated.
Expand Down

0 comments on commit 230258f

Please sign in to comment.