Confusion Matrix

Thematic quality indices are provided to facilitate the evaluation and quality control of geospatial data products (e.g. thematic maps, remote sensing classifications, etc.). The indices offered are based on the so-called confusion matrix. This matrix is constructed by comparing the assigned classes or attributes of a set of pairs of positions or objects in the product and the ground truth. In this package it is considered that the classes of the ground truth correspond to the columns and that the classes of the product to be valued correspond to the rows. The package offers two object classes with their methods: 'ConfMatrix' (Confusion matrix) and 'QCCS' (Quality Control Columns Set). The 'ConfMatrix' class of objects offers more than 20 methods based on the confusion matrix. The 'QCCS' class of objects offers a different perspective in which the ground truth is considered to allow the values of the column marginals to be fixed, see Ariza López et al. (2019) and Canran Liu et al. (2007) for more details. The package was created with 'R6'.


Reference manual

It appears you don't have a PDF plugin for this browser. You can click here to download the reference manual.

install.packages("ConfMatrix")

0.2.1 by Silverio Vilchez-Lopez, 4 months ago


Browse source code at https://github.com/cran/ConfMatrix


Authors: Francisco Javier Ariza-Lopez [aut] , Paola Barba-Ceballos [aut] , Silverio Vilchez-Lopez [aut, cre] , Jose Rodriguez-Avi [aut] , Maria Virtudes Alba-Fernandez [aut] , Jose Luis Garcia-Balboa [aut]


Documentation:   PDF Manual  


GPL license


Imports R6, Rdpack, ggplot2, gridExtra

Suggests knitr, rmarkdown, roxygen2, testthat


See at CRAN