smile

Spatial Misalignment: Interpolation, Linkage, and Estimation

R-CMD-check CRAN status

The goal of smile is to provide an easy to use R package that functions to estimate, predict and interpolate areal data. For estimation and prediction we use a model-based approach assuming areal data to be an average of an underlying continuous Gaussian random field. For interpolation, we use the simple areal interpolation, which is a nonparametric approach. Also, we provide functions to quantify the uncertainty associated with the simple areal interpolation when the variance of the observed variables is known.

The package accompanies a web page (powered by pkgdown) and 5 vignettes.

Vignettes

  1. Converting sf to spm objects;
  2. Fitting models and making predictions;
  3. Areal Interpolation;
  4. Method;
  5. Spatial covariance functions;

Installation

To install the CRAN version of the, use

install.packages("smile")
## remotes::install_github("lcgodoy/smile")

The installation of the development version from GitHub can be done via

remotes::install_github("lcgodoy/smile")
## or devtools::install_github("lcgodoy/smile")