cocons an R package for nonstationary spatial modeling, simulation, and prediction with modular covariate-based covariance functions. For a brief introduction: install.packages("cocons") library(cocons) vignette("cocons")