computePRcurve: Compute Precision-Recall curve

View source: R/computePR.R

computePRcurveR Documentation

Compute Precision-Recall curve

Description

Compute a Precision-Recall (PR) curve and AUC value for a maxnet model

Usage

computePRcurve(thisModel, occSWD, bkgSWD, responseType = "cloglog")

Arguments

thisModel

maxnet object. A maxnet object representing the fitted model

occSWD

data.frame. Environmental data for presence or occurrence records in MaxEnt SWD format

bkgSWD

data.frame. Environmental data for background locations in MaxEnt SWD format

responseType

Character. A MaxEnt response scale; one of "link", "exponential", "logistic" or "cloglog". Default is "cloglog"

Value

A PR curve object produced by the function pr.curve in the package PRROC


peterbat1/fitMaxnet documentation built on Sept. 17, 2024, 10:50 p.m.