fixed bug identified in ‘ecospat’ original code at
https://github.com/ecospat/ecospat/issues/99#issue-2528136160
AUC
added Somer’s D (= Gini coefficient) to outputs
Other modified files:
Boyce.Rd
added “See also” section
Version 3.40 -> CRAN
(Committed 2025-09-19)
Modified functions:
varImp
add required ‘n.trees’ and ‘newdata’ args to predict() call for GBM
models
Boyce
move ‘r <-’ upward to fix bug for edge cases with very few unique
pred values
evaluate (benefiting threshMeasures)
convert a, b, c and d to numeric, to avoid kappa integer overflow
when large numbers (seen in
https://github.com/benjjneb/dada2/issues/1747#issuecomment-1579180381)
Version 3.39
(Committed 2025-07-03) ->
CRAN
Modified functions:
MillerCalib
plot values: replace “slope - 1” with “slopeDiff”
include ‘slopeDiff’ in console output
Other modified files:
varImp.Rd
mention Shapley values in See Also
Version 3.38
(Committed 2025-06-29)
Modified functions:
MillerCalib
move intercept value on plot back to just after slope
pseudoRsq
improved Tjur NA message, and show it only when verbosity >
1
Other modified files:
RsqGLM.Rd, pseudoRsq.Rd
removed duplicated info to avoid future mismatches; slightly
improved text
Version 3.37
(Committed 2025-06-21)
Modified functions:
varImp
replaced instances of methods::is() with inherits()
check if class ‘Gam’ or ‘gam’, in which case ‘imp.type’
automatically set to ‘permutation’ (as ‘maxnet’ already did)
warning (not just message if verbosity) when ‘imp.type’
automatically changed
changed ‘col’ argument defaults to named colours
help file mentions ‘Gam’ and ‘gam’ classes also implemented
mod2obspred
replaced instances of methods::is() with inherits()
prevalence
replaced if (!is(obs, “vector”) && !is(obs, “factor”)) with
if (!is.vector(obs) && !is.factor(obs)) to remove dependency on
{methods}
Other modified files:
NAMESPACE
removed importFrom(“methods”, “is”)
DESCRIPTION
removed “methods” from Imports
Version 3.36
(Committed 2025-06-09)
Modified functions:
RsqGLM
renamed to pseudoRsq
MillerCalib
changed colour of slope-1 value on plot, from red (too dramatic) to
dark red
moved slope-1 value on plot to just after slope, before
intercept
optiThresh
added ‘…’ which was missing in ‘plot(all.thresholds, )’
Version 3.35
(Committed 2025-05-12)
Modified functions:
confusionLabel
vector output now also ordered factor rather than character (as for
raster inputs)
message when ‘separate’ automatically set to FALSE because ‘ci’ not
NA
Boyce
changed colour of plot text to grey50, to increase visibility when
overlapping points
Version 3.19
(Committed 2024-10-02)
New functions:
errorMeasures (incl. RMSE, MSE, Brier score)
Modified functions:
RMSE
warning: function deprecated in favour of errorMeasures
Other modified files:
quantReclass.Rd
update Formoso-Freire ref with publication date
DESCRIPTION
added contributors
Version 3.18.2
(Committed 2024-08-28) ->
CRAN
Modified functions:
predDensity
slightly improved plot colours for better contrast
added legend when CI not NA
Other modified files:
predDensity.Rd
slight improvements to increase clarity
Version 3.18.1
(Committed 2024-08-09)
Modified functions:
mod2obspred
implemented class ‘GBMFit’ (pkg ‘gbm3’) when obs.only=FALSE
predDensity
adapted x-axis values for predictors outside range [0, 1] when
type=“histogram”
changed plot colours
Other modified files:
inputMuch.Rd
added mention to class ‘GBMFit’ for ‘model’
predDensity.Rd
added mention to ‘predictor’ values
Version 3.18
(Committed 2024-08-08)
Modified functions:
mod2obspred, varImp
implemented class ‘GBMFit’ from pkg ‘gbm3’
Version 3.17.1
(Committed 2024-06-07)
Modified files:
varImp.Rd
second example now uses new argument ‘relative’
improved descriptions and Details
Version 3.17
(Committed 2024-06-06) ->
CRAN
Modified functions:
varImp
‘relative’ argument now applies also to BART and flexBART
models
adapted to latest version of flexBART, which does carry variable
names
informative error messages when model is BART and doesn’t have the
required info
added ‘verbosity’ argument
Version 3.16
(Committed 2024-06-05)
Modified functions:
optiThresh
added ‘verbosity’ argument to pass to inputMunch()
abline() now plotted also if ‘optimize’ is a specific measure name,
not necessarily “each”
AUC
added ‘verbosity’ argument to pass to inputMunch()
varImp
added ‘relative’ argument for z value (suggested by Alba
Estrada)
Version 3.15
(Committed 2024-03-25)
Modified functions:
threshMeasures, evaluate, modEvAmethods
added ‘ORSS’ and ‘SEDI’ metrics (Wunderlich et al. 2019) (suggested
by Jose Carlos Guerrero)
Version 3.14
(Committed 2024-02-01)
New functions:
logLike
Modified functions:
predDensity
added ‘xlim’ argument
Version 3.13.3
(Committed 2024-01-19) ->
CRAN
Modified functions:
threshMeasures
set plot=FALSE on confusionMatrix() call
confusionMatrix
set default ‘plot’ to FALSE (for back-compatibility)
Version 3.13.2
(Committed 2024-01-18)
Modified functions:
confusionMatrix
add arguments plot=TRUE, classes=FALSE and …
Version 3.13.1
(Committed 2024-01-17)
Modified functions:
confusionLabel
assign consistent colours to output raster categories
add plot=TRUE and … arguments
Version 3.13
(Committed 2024-01-16)
Modified functions:
confusionLabel
output SpatRaster (if input ‘pred’ is SpatRaster) now properly
categorical
Other modified files:
AUC.Rd
unimplemented argument ‘FPR.limits’ now suggests using
‘pROC::roc’
Version 3.12
(Committed 2023-12-14)
Modified functions:
applyThreshold, inputMunch
added ‘verbosity’ argument to pass to ptsrast2obspred()
AUC
added ‘grid.lty’ argument (used e.g. in modevapp)
‘grid’ now at 0.1 (not threshold) intervals
getThreshold
finished implementing ‘maxF’
implemented maxJaccard, maxSorensen (= maxF)
optiThresh
replaced single with double ||, &&
added modEvAmethods(“similarity”) to default ‘measures’
added maxJaccard and maxSorensen criteria
modEvAmethods
added Jaccard, Sorensen and their maximizations
arrangePlots
return c(1, 1) if n.plots <= 1
Other modified files:
Boyce.Rd
‘Note’ now mentions that Boyce is designed for suitability or
favourability, not probability
similarity.Rd
‘Description’ and ‘Details’ now mention equivalence to Li &
Guo’s F-measures
Version 3.11
(Committed 2023-11-25) ->
CRAN
Modified functions:
Dsquared
added dismo.version argument: if FALSE, uses the previous version of
Dsquared, as the dismo version sometimes produces negative or NaN
results
Version 3.10
(Committed 2023-11-10) ->
CRAN
New functions:
quantReclass
similarity
Modified functions:
modEvAmethods
added methods for similarity()
Version 3.9.6
(Committed 2023-10-04)
Modified functions:
Dsquared
warning emitted and Dsquared calculated correctly even when family
binomial and response not binary (following bug report by Elic M.
Weitzel)
varImp
metric reported in console result
absolute (rather than original) values now returned for z value (if
model is glm)
AUC
added ‘GiniCoefficient’ to outputs when simplif=FALSE
Version 3.9.5
(Committed 2023-01-02)
Modified functions:
varImp
barplot now also gets error bars replotted on top of points if
plot.points=TRUE
implemented for models of class “lbart” and “pbart” of pkg ‘BART’
(though not ideal for group.cats = TRUE)
group.cats default now FALSE
started implementation for flexBART models (still imperfect because
object has no var names; issue submitted at
https://github.com/skdeshpande91/flexBART/issues/8)
Version 3.9.4
(Committed 2023-04-26)
Modified functions:
varImp
new argument group.cats=TRUE, for BART models, to sum up the
contributions of (one-hot encoded) categorical variable levels
Version 3.9.3
(Committed 2023-04-14) ->
CRAN
Modified functions:
AUC
‘method’ default now NULL, to avoid unsolicited warning when
curve=“PR” because default method was “rank”
Other modified files:
varImp.Rd
improved info on parameters for different plot types (e.g. cex.axis
for lollipop, cex.names for barplot)
Version 3.9.2
(Committed 2023-03-19)
Modified functions:
Boyce
explicit warning instead of obscure error if ‘obs’ has no
presences
warning also when ‘obs’ has only presences (Boyce = NA)
optiThresh
explicit warning (and results NA) instead of obscure error if ‘obs’
has either no presences or no absences
empty plot instead of error for incalculable metrics
threshMeasures
explicit warning instead of obscure error if ‘obs’ has either no
presences or no absences
Version 3.9.1
(Committed 2023-02-26)
Modified functions:
varImp
error if family is not ‘binomial’, to avoid obscure error otherwise
because no ‘z-value’ column in summary
added arguments ‘rm.dup’ and ‘na.rm’ to pass to ‘inputMunch’ and
cascade to ‘ptsrast2obspred’
Boyce
renamed arguments ‘rm.dupl.classes’ and ‘rm.dupl.points’ to
‘rm.dup.classes’ and ‘rm.dup.points’, for better coherence with ‘rm.dup’
in other functions
added ‘na.rm’ argument
Version 3.3
(Committed 2022-05-03)
New functions:
inputMunch
converts from model or point & raster inputs to obs & pred
vectors
getThreshold
computes threshold based on any of a range of published
criteria
Modified functions:
prevalence
added ‘unlist’ to avoid obscure error when input is one-column
tibble instead of vector