ecospat.CCV.communityEvaluation.prob {ecospat}R Documentation

Evaluates community predictions directly on the probabilities (i.e., threshold independent)

Description

This function generates a number of community evaluation metrics directly based on the probability returned by the individual models. Instead of thresholding the predictions (ecospat.CCV.communityEvaluation.bin this function directly uses the probability and compares its outcome to null models or average expectations.)

Usage

ecospat.CCV.communityEvaluation.prob(ccv.modeling.data,
    community.metrics=c('SR.deviation','community.AUC','Max.Sorensen',
                         'Max.Jaccard','probabilistic.Sorensen',
                         'probabilistic.Jaccard'),
    parallel = FALSE, 
    cpus = 4)

Arguments

ccv.modeling.data

a 'ccv.modeling.data' object returned by ecospat.CCV.modeling

community.metrics

a selection of community metrics to calculate ('SR.deviation','community.AUC','Max.Sorensen','Max.Jaccard', 'probabilistic.Sorensen','probabilistic.Jaccard'))

parallel

should parallel computing be allowed (TRUE/FALSE)

cpus

number of cpus to use in parallel computing

Value

DataSplitTable

a matrix with TRUE/FALSE for each model run (TRUE=Calibration point, FALSE=Evaluation point)

CommunityEvaluationMetrics.CalibrationSites

a 3-dimensional array containing the community evaluation metrics for the calibartion sites of each run (NA means that the site was used for evaluation)

CommunityEvaluationMetrics.EvaluationSites

a 3-dimensional array containing the community evaluation metrics for the evaluation sites of each run (NA means that the site was used for calibaration)

Note

If the community evaluation metric 'SR.deviation' is selected the returned tables will have the following columns:

If the community evalation metric community.AUC is selected the returned tables will have the following colums:

If the community evaluation metrics ('Max.Sorensen', 'Max.Jaccard') is selected the returned tables will have the follwing colums:

If the community evaluation metrics ('probabilistic.Sorensen', 'probabilistic.Jaccard') is selected the returned tables will have the follwing colums:

For detailed descriptions of the null models see Scherrer et al. 2019

Author(s)

Daniel Scherrer <daniel.j.a.scherrer@gmail.com>

See Also

ecospat.CCV.modeling; ecospat.CCV.createDataSplitTable; ecospat.CCV.communityEvaluation.bin;


[Package ecospat version 4.0.0 Index]