powered by
Function to split the dataset according to a grid for the adaptive bw function with multicore support
split_by_grid_abw.mc(grid, events, lines, bw, tol, digits)
A spatial grid to split the data within
A spatialPointsDataFrame of the events points
A SpatialLinesDataFrame representing the network
The kernel bandwidth (used to avoid edge effect)
A float indicating the spatial tolerance when snapping events on lines
The number of digits to keep
A list with the split dataset
# NOT RUN { #This is an internal function, no example provided # }
Run the code above in your browser using DataLab