models_evaluation: MODEL EVALUATION FUNCTION

View source: R/models_evaluation.R

models_evaluationR Documentation

MODEL EVALUATION FUNCTION

Description

full models evaluation

Usage

models_evaluation(
  Pred,
  Obs,
  predictors,
  spsNames = NULL,
  th = NULL,
  ras = NULL,
  int.matrix = NULL,
  sample.pseudoabsences = TRUE,
  res = NULL,
  plot = FALSE,
  rep = 100,
  best.th = c("accuracy", "similarity")
)

Arguments

Pred

Data frame with predicted niche models. Alternatively it can be an object class NINA, in which case Obs and predictors is omitted.

Obs

Occurrence dataset

predictors

Environmental predictors

spsNames

species names to evaluate

th

threshold to perform cut off

ras

raster to constrain pseudoabsences sampling

int.matrix

interaction matrix between species and interactors

sample.pseudoabsences

Boolean to whether sample pseudo-absences

res

spatial resolution

plot

Boolean to whether plot the evaluation

rep

number of randomzation tests

best.th

method to select the best thresholt. Default is "similarity"

Details

Returns an error if filename does not exist.

Value

List

Examples

## Not run: 
EN = EN_model(env_data, occ_data1, cluster = "env", n.clus = 5)
eval = models_evaluation(EN)
print(eval)

## End(Not run)


agarciaEE/NINA documentation built on Jan. 9, 2025, 10:09 a.m.