KappaV: Calculates vectorial kappa between two shapes

Description Usage Arguments Details Value References See Also Examples

Description

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.

Usage

1
2
3
KappaV(shp1.path, shp2.path, shp1.fieldID = "ID",
  shp2.fieldID = shp1.fieldID, shp1.fieldOS = "OS",
  shp2.fieldOS = shp1.fieldOS, plot = FALSE, progressBar = TRUE)

Arguments

shp1.path

character. The path to the first shape file.

shp2.path

character. The path to the second shape file.

shp1.fieldID

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.

progressBar

logical. Whether to display a progress bar during calculations.

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.

Have a look to the package's vignette: http://www.vincentbonhomme.fr/KappaV

KappaV' homepage : http://www.vincentbonhomme.fr/KappaV with tutorials and hotline.

KappaV' GitHub repo : https://github.com/vbonhomme/KappaV to contribute, among other things.

Examples

1
# Have a look to package's vignette above.

vbonhomme/KappaV documentation built on May 3, 2019, 4:35 p.m.