Provides an accessible and robust implementation of core BME
methodologies for spatial prediction. It enables the systematic integration
of heterogeneous data sources including both hard data (precise
measurements) and soft interval data (bounded or uncertain observations)
while incorporating prior knowledge and supporting variogram-based spatial
modeling. The BME methodology is described in Christakos (1990)
The BMEmapping R package delivers a flexible, robust, and computationally optimized framework for spatial interpolation and uncertainty quantification using the Bayesian Maximum Entropy (BME) paradigm. Unlike traditional kriging frameworks that rely strictly on precise physical measurements (hard data), BMEmapping allows for the systematic integration of bounded uncertainty domains (soft-interval data) without resorting to linear or Gaussian assumptions.
The package features two operational geostatistical engines:
You can install the development version of BMEmapping from
GitHub using devtools:
# install.packages("devtools")
devtools::install_github("KinsprideDuah/BMEmapping")
bme_map Constructs a unified data object encapsulating
coordinate structures, spatial attributes, hard measurements, and
soft-interval constraints to condition the interpolation space.prob_zk Computes posterior densities using the CBME approach.q_prob_zk Computes posterior densities using the QBME approach.bme_predict Computes spatial point estimates (mean, median,
or mode) using the CBME approach.q_bme_predict Computes spatial point estimates (mean,
median, or mode) using the QBME approach.bme_predict_ci Constructs credible intervals using the CBME
approach.q_bme_predict_ci Constructs credible intervals using the QBME
approach.bme_cv Executes K-fold or exact Leave-One-Out Cross-Validation
(LOOCV) at hard data locations using the CBME approach.q_bme_cv Executes K-fold or exact LOOCV at hard data locations
using the QBME approach.summary() Provides standard geostatistical error metrics for
BMEmapping objects.plot() Provides graphical visualzations (spatial, prediction and
residual plots) of BMEmapping objects.If you encounter a bug or have structural feature requests, please file a ticket alongside a minimal reproducible example (reprex) on the GitHub Issues page.
Kinspride Duah
MIT + file LICENSE