Improves the balance of optimal matching with near-fine balance by giving penalties on the unbalanced covariates with the unbalanced directions. Many directional penalties can also be viewed as Lagrange multipliers, pushing a matched sample in the direction of satisfying a linear constraint that would not be satisfied without penalization.
    Yu and Rosenbaum (2019) <doi:10.1111/biom.13098>.

Works as an "add-on" to packages like 'shiny', 'future', as well as 
    'rlang', and provides utility functions. Just like dipping sauce adding 
    flavors to potato chips or pita bread, 'dipsaus' for data analysis and 
    visualizations adds handy functions and enhancements to popular packages. 
    The goal is to provide simple solutions that are frequently asked for 
    online, such as how to synchronize 'shiny' inputs without freezing the app,
    or how to get memory size on 'Linux' or 'MacOS' system. The enhancements 
    roughly fall into these four categories: 1. 'shiny' input widgets; 2. 
    high-performance computing using the 'future' package; 3. 
    modify R calls and convert among numbers, strings, and other objects. 4. 
    utility functions to get system information such like CPU chip-set, memory 
    limit, etc.

Compute Hartigan's dip test statistic for unimodality /
 multimodality and provide a test with simulation based p-values,  where
 the original public code has been corrected.

Estimation of the average treatment effect when controlling for
    high-dimensional confounders using debiased inverse propensity score
    weighting (DIPW). DIPW relies on the propensity score following a sparse
    logistic regression model, but the regression curves are not required to be
    estimable. Despite this, our package also allows the users to estimate 
    the regression curves and take the estimated curves as input to our
    methods. Details of the methodology can be found in Yuhao Wang and
    Rajen D. Shah (2020) "Debiased Inverse Propensity Score Weighting for
    Estimation of Average Treatment Effects with High-Dimensional Confounders"
    <arXiv:2011.08661>. The package relies on the optimisation
    software 'MOSEK' <https://www.mosek.com/> which must be installed separately;
    see the documentation for 'Rmosek'.