Installation
- Requirement: C++ compilers,
Rcpp,RcppArmadillo,sf - To install this package, please use the command below. It assumes that users have installed
remotesorpakpackages:
remotes::install_github("sigmafelix/speed")pak::pak("sigmafelix/speed")
Concept
- Calculating a Hadamard product of a Jensen-Shannon divergence matrix and a geographic distance matrix to control geographic confounding
- Emulates exact matching, with mixed variables
- Actual matching procedure is done with https://github.com/kouskeimai/MatchIt
- Inspired by https://github.com/gpapadog/DAPSm