Package: rarefun Type: Package Title: Functions for Rare Events Analysis Version: 0.1.0 Authors@R: c( person("Vyacheslav", "Lyubchich", email = "lyubchich@umces.edu", role = c("aut", "cre"), comment = c(ORCID = "0000-0001-7936-4285")), person("Geneviève", "Nesslage", role = "aut", comment = c(ORCID = "0000-0003-1770-6803")) ) Description: Functions for detecting and analyzing rare events in data. Implements isolation forest (Liu et al., 2008, ) and clustering for anomaly detection in time series residuals. Decomposes time series using LOESS (Locally Estimated Scatterplot Smoothing) or STL (Seasonal-Trend decomposition using LOESS). Detects marine heatwaves and cold spells following Hobday et al. (2016) . Provides goodness-of-fit tests for quantile regression (Haupt et al., 2011, ), partial dependence with quantile random forests, MCC (Matthews Correlation Coefficient) computation and testing, knee-point detection via the Kneedle algorithm (Satopaa et al., 2011, ), and spatial point matching. License: MIT + file LICENSE Encoding: UTF-8 Depends: R (>= 4.1.0) Imports: RANN, boot, dbscan, geosphere, isotree, Rdpack, parallel, pdp, stats Suggests: testthat (>= 3.0.0), dplyr, ggplot2, heatwaveR, patchwork, quantmod, quantreg, ranger, viridis URL: https://github.com/vlyubchich/rarefun BugReports: https://github.com/vlyubchich/rarefun/issues RdMacros: Rdpack LazyData: true Config/roxygen2/version: 8.0.0 Repository: https://vlyubchich.r-universe.dev Date/Publication: 2026-05-29 15:27:38 UTC RemoteUrl: https://github.com/vlyubchich/rarefun RemoteRef: HEAD RemoteSha: 62c88016a40f1210f4c25ae23ade7bd7448c50e2 NeedsCompilation: no Packaged: 2026-10-01 08:43:36 UTC; root Author: Vyacheslav Lyubchich [aut, cre] (ORCID: ), Geneviève Nesslage [aut] (ORCID: ) Maintainer: Vyacheslav Lyubchich