Kappa: Calculates kappa statistic and other classification error statistics
Description
The kappa statistic, along with user and producer error rates are conventionally
used in the remote sensing to describe the effectiveness of ground cover
classifications. Since it simultaneously considers both errors of commission
and omission, kappa can be considered a more conservative measure of
classification accuracy than the percentage of correctly classified items.
Usage
Kappa(class1, reference)
Arguments
class1
A vector describing a classification of experimental units.
reference
A vector describing the "correct" classication of the experimental units in class1
Value
Returns a list with 5 items
ttl_agreementThe percentage of correctly classified items.
user_accuracyThe user accuracy faor each category of the classification.
producer_accuracyThe producer accuracy for each category of the classification.
tableA two way contingency table comparing the user supplied classification versus the reference classification.
References
Jensen, J. R. (1996) Introductory digital imagery processing 2nd edition. Prentice-Hall.