Description Usage Arguments Details Value See Also Examples
View source: R/helpCalcConTab.R
Compute contingency table based on reference and validation data
| 1 | helpCalcConTab(pred, ref, ref_id)
 | 
| pred | raster object containing the predicted values | 
| ref | spatial polygon object containing the reference values for certain locations | 
| ref_id | name of the attribute which contains the reference id values | 
The predicted values from the raster dataset are extracted if they fall inside the individual polygons.
table containing contingency values
calcKappa for calculating kappa coefficients based on
the contingency table.
| 1 2 | # Not run
calcKappa(contab)
 | 
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.