This function calculates the Deficit Index (DI) and returns results as list: di a column-vector containing deficit indexes for each individual and columns that were used to calculate the di.
di
columns
Useful links