boyce: Boyce's continuous index

View source: R/boyce_index.R

boyceR Documentation

Boyce's continuous index

Description

Boyce's continuous index

Usage

boyce(fit, obs, nclass = 0, window.w = "default", res = 100, PEplot = FALSE)

Arguments

fit

A numeric vector or RasterLayer or SpatRaster containing the predicted suitability values

obs

A numeric vector containing the predicted suitability values or xy-coordinates (if fit is a Raster-Layer) of the validation points (presence records)

nclass

Numeric. Number of classes or vector with classes threshold. If nclass=0, Boyce index is calculated with a moving window (see next parameters)

window.w

Numeric. Width of the moving window (by default 1/10 of the suitability range)

res

Numeric. Resolution of the moving window (by default 100 focals)

PEplot

Logical. If TRUE, plot the predicted to expected ratio along the suitability class

Details

This is a daft bit of text.

Hirzel et al. 2006. Evaluating the ability of habitat suitability models to predict species presences. Ecological Modelling 199:142-152.

Value

A named list...


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