Spatially-Enhanced and Entropy-Derived Contiguity Matrix (SpEED)
- Requirement: C++ compilers,
Rcpp
,RcppArmadillo
,sf
- To install this package, please use the command below. It assumes that users have installed
remotes
orpak
packages:
remotes::install_github("sigmafelix/speed")
pak::pak("sigmafelix/speed")
- 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
- TODO: Rcpp level parallelization to reduce execution time
- TODO: connecting/porting to Julia