Description Usage Arguments Value Author(s)
Compute the confusion matrix between two raster files.
1 | confusion_raster(r1_path, r2_path, key_ls)
|
r1_path |
A length-one character. Path to a raster file. The reference raster to appear in the colums of the confusion matrices. |
r2_path |
A length-one character. Path to a raster file. |
key_ls |
A named list used to recode the integer values of r1_path and r2_path. The list is made of labels and its names are the numbers (as character) in the rasters. |
A list as explained in caret::confusionMatrix
Alber Sanchez, alber.ipia@inpe.br
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.