A function to calculate the necessary information to apply the Diggle correction factor with a discontinuous method (sparse)
Useful links