Please take a look into examples.R to get started!
This project provides the weighted minimum distance logistic regression for the situation that the response is binary (independent variable is binary) and all covariates (all dependent variables) are categorical.