Rocky Mountain Research Station Publications

RMRS Online Publication - Journal Articles, External Publications, and Special Reports
PresenceAbsence: An R package for presence absence analysis

Freeman, Elizabeth A.; Moisen, Gretchen. 2008. PresenceAbsence: An R package for presence absence analysis. Journal of Statistical Software. 23(11): 31 p.

The PresenceAbsence package for R provides a set of functions useful when evaluating the results of presence-absence analysis, for example, models of species distribution or the analysis of diagnostic tests. The package provides a toolkit for selecting the optimal threshold for translating a probability surface into presence-absence maps specifically tailored to their intended use. The package includes functions for calculating threshold dependent measures such as confusion matrices, percent correctly classified (PCC), sensitivity, specificity, and Kappa, and produces plots of each measure as the threshold is varied. It also includes functions to plot the Receiver Operator Characteristic (ROC) curve and calculates the associated area under the curve (AUC), a threshold independent measure of model quality. Finally, the package computes optimal thresholds by multiple criteria, and plots these optimized thresholds on the graphs.

Keywords: binary classification, ROC, AUC, sensitivity, specificity, threshold, species distribution models, diagnostic tests

About PDFs: For best results, do not open the PDF in your Web browser. Right-click on the PDF link to download the PDF file directly to your computer. Click here for more PDF help.

Download Article

PDF File Size: 485 K

Title: RMRS Other Publications: PresenceAbsence: An R package for presence absence analysis
Electronic Publish Date: March 13, 2008
Last Update:
March 13, 2008

RMRS Publications | Order a publication | Contact Us