resemble: Similarity Retrieval and Local Learning for Spectral Chemometrics

Functions for dissimilarity analysis and machine learning in complex spectral data sets, including memory-based learning (MBL), optimal subset search and selection, and retrieval-based modelling with model libraries. Supports local learning, optimisation of spectral libraries, and ensemble prediction from precomputed models. Most of these functions are based on the methods presented in Ramirez-Lopez et al. (2013) <doi:10.1016/j.geoderma.2012.12.014>.

Version: 3.0.0
Depends: R (≥ 4.2.0)
Imports: foreach, iterators, RhpcBLASctl, Rcpp (≥ 1.0.3), mathjaxr (≥ 1.0), lifecycle (≥ 0.2.0)
LinkingTo: Rcpp, RcppArmadillo
Suggests: prospectr, parallel, doParallel, testthat, quarto, knitr
Published: 2026-04-20
DOI: 10.32614/CRAN.package.resemble
Author: Leonardo Ramirez-Lopez ORCID iD [aut, cre], Antoine Stevens ORCID iD [aut, ctb], Claudio Orellano [ctb]
Maintainer: Leonardo Ramirez-Lopez <ramirez.lopez.leo at gmail.com>
BugReports: https://github.com/l-ramirez-lopez/resemble/issues
License: MIT + file LICENSE
URL: https://l-ramirez-lopez.github.io/resemble/, https://github.com/l-ramirez-lopez/resemble
NeedsCompilation: yes
Citation: resemble citation info
Materials: README, NEWS
CRAN checks: resemble results

Documentation:

Reference manual: resemble.html , resemble.pdf
Vignettes: 8 Building a library of models with liblex (source, R code)
6 Classical memory-based learning (local modelling) (source, R code)
2 Dimensionality reduction of spectral data (source, R code)
3 Estimating dissimilarity between spectra (source, R code)
7 Evolutionary subset search using gesearch (source, R code)
1 Essential concepts and setup (source, R code)
4 Nearest-neighbor search (source, R code)
5 Simple global models (source, R code)

Downloads:

Package source: resemble_3.0.0.tar.gz
Windows binaries: r-devel: resemble_2.2.5.zip, r-release: resemble_2.2.5.zip, r-oldrel: resemble_2.2.5.zip
macOS binaries: r-release (arm64): resemble_2.2.5.tgz, r-oldrel (arm64): resemble_2.2.5.tgz, r-release (x86_64): resemble_2.2.5.tgz, r-oldrel (x86_64): resemble_2.2.5.tgz
Old sources: resemble archive

Linking:

Please use the canonical form https://CRAN.R-project.org/package=resemble to link to this page.