bssdm 0.2.2
What's Changed (TL;DR)
- Add extrapolation plot methods; bundle dataset; update README by @johnbaums in #7
Full Changelog: 0.2.1...0.2.2
New features
-
Structured result classes
mess()andexdet()now returnMessResultandExdetResultobjects respectively. These are still plain lists under the hood, so existing$-based access (e.g.result$mess,result$exdet) continues to work without change. The S3 class enables the new plot methods below. -
Plot methods for extrapolation outputs
Newplot()S3 methods for both result types (requirestmap, listed underSuggests):plot(mess_result)— MESS surface with diverging colour scale (red = novel, blue = similar);which = "mod"or"mos"for categorical most-dissimilar / most-similar covariate maps with donut chart insets.plot(exdet_result)— ExDet map distinguishing Type 1 novelty (univariate, red), Type 2 novelty (multivariate, blue), and analog conditions (yellow) as separate layers;which = "mic1"or"mic2"for most-influential-covariate maps.- Examples in
?messand?exdethave been simplified to use these methods.
-
New bundled dataset
hawkweed— cleaned global occurrences of Hieracium pilosella from GBIF (doi:10.15468/dl.q6q6fk), processed with CoordinateCleaner. Used in package examples.
Documentation
- README rewritten from a placeholder stub to a full worked example covering climate data download via geodata, the
hawkweeddataset, Range bagging and Climatch SDM workflows, and MESS / ExDet novelty assessment — with rendered figures throughout.
Minor
.gitignoreupdated to exclude.DS_Store,README.html, andRplots.pdf.- Stale
.DS_Storeremoved fromtests/testthat/test_inputs/.