Skip to content

ConfMatrix

Confusion Matrix

v0.2.1 · May 29, 2026 · GPL

Description

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) <doi:10.3390/app9204240> and Canran Liu et al. (2007) <doi:10.1016/j.rse.2006.10.010> for more details. The package was created with 'R6'.

Downloads

CRAN

504

Last 30 days

7333rd

1.8K

Last 90 days

6.8K

Last year

Trend: -25.9% (30d vs prior 30d)

r2u CRAN

4

Last 30 days

47

Last 90 days

132

Last year

Trend: -81.8% (30d vs prior 30d)

autoCRAN

1

Last 7 days

10

Last 30 days

0

All-time

autoCRAN-only: this name is served only by autoCRAN, so the count is exact.

CRAN Check Status

13 OK
Show all 13 flavors
Flavor Status
r-devel-linux-x86_64-debian-clang OK
r-devel-linux-x86_64-debian-gcc OK
r-devel-linux-x86_64-fedora-clang OK
r-devel-linux-x86_64-fedora-gcc OK
r-devel-windows-x86_64 OK
r-oldrel-macos-arm64 OK
r-oldrel-macos-x86_64 OK
r-oldrel-windows-x86_64 OK
r-patched-linux-x86_64 OK
r-release-linux-x86_64 OK
r-release-macos-arm64 OK
r-release-macos-x86_64 OK
r-release-windows-x86_64 OK

Check History

OK 14 OK · 0 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE Mar 10, 2026

Code

Structure

Lines of code

8,072

Files

16

Compiled share

0%

Has compiled src

No

Language breakdown

R 3,872 (48%)Docs 4,061 (50.3%)Vignettes 139 (1.7%)

API

Exported functions

2

Internal functions

1

Recent export changes

v0.1.0+2 ConfMatrix, QCCS

Testing & CI

Has tests

No

Test-to-code ratio

0.00

testthat edition

3

CI present

No

CI type

[]

PR gated

No

Docs

Return-value doc rate

0%

\dontrun example ratio

0%

Roxygen coverage

100%

Has pkgdown

No

NEWS present

No

Health & Security signals

Informational signals; not verdicts.

on.exit coverage

Unsafe pattern score

0

Dep constraint coverage

0%

Secret pattern count

0

Bundled 3rd-party code

2 items

Portability & License

Min R version

System requirements

C++ standard

License

GPL

License flags

not SPDX, not OSI

History

Versions

3

First release

2024-11-03

Latest release

2026-05-29

Avg cadence

286 days

Cold removal rate

Dep drift

0

LOC over versions

v0.1.0: 8,422 LOCv0.2.0: 8,347 LOCv0.2.1: 8,072 LOC

Per-file churn detail lives in the source pipeline: https://github.com/r-observatory/cran-code-metrics.

Dependency Network

Dependencies Reverse dependencies R6 Rdpack ggplot2 gridExtra ConfMatrix

Version History

3 tracked
updated 0.2.1 ← 0.2.0 diff May 29, 2026
updated 0.2.0 ← 0.1.0 diff May 13, 2026
new 0.1.0 Mar 10, 2026

R Observatory began tracking this package on Mar 10, 2026; it first appeared on CRAN Nov 3, 2024. Releases before tracking aren’t shown.