A function to calculate the necessary information to apply the Diggle correction factor with a discontinuous method (sparse)
corrfactor_discontinuous_sparse(
neighbour_list,
events,
line_list,
bws,
max_depth
)
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