# smile

**S**patial
**M**isalignment: **I**nterpolation,
**L**inkage, and **E**stimation

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

- Converting
`sf`

to `spm`

objects;
- Fitting
models and making predictions;
- Areal
Interpolation;
- Method;
- 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")
```