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