A function to calculate the necessary informations to apply the Diggle correction factor with a discontinuous method
a list of the neighbours of each node
a numeric vector of the node id of each event
a DataFrame representing the lines of the graph
the kernel bandwidth for each event
the maximum recursion depth (after which recursion is stopped)
a list of dataframes, used to calculate the Diggel correction factor