This function calculates the vectorial Kappa, the
associated standard deviation and also returns the
confusion matrix calculated between two vectorial
landscapes.
Calculates vectorial Kappa, i.e. congruence between two
vectorial landscapes.
character. The column name in
the .dbf file to indicate the polygons IDs.
shp2.fieldID
character. The column name in
the .dbf file to indicate the polygons IDs.
shp1.fieldOS
character. The column name in
the .dbf file to indicate the nominal variable of
interest.
shp2.fieldOS
character. The column name in
the .dbf file to indicate the nominal variable of
interest.
plot
logical. Whether to plot the two
landscapes.
Details
If not specified the default parameters are
shp1.fieldID = "ID", shp2.fieldID =
shp1.fieldID, shp1.fieldOS =
"OS",shp2.fieldOS = shp1.fieldOS and plot =
FALSE
Value
A list with two components: confusion.matrix: the
confusion matrix with the corresponding areas. and
$kappa.v: a numeric with two values: $Kappa
(the value of vectorial Kappa) and $Kappa.sd (the
associated standard deviation)
References
Paper submitted.
Paper submitted.
See Also
Kappa in the PresenceAbsence package that
handles the Kappa and its SD calculation from the confusion
matrix.