powered by
Function to split the dataset according to a grid.
split_by_grid.mc( grid, samples, events, lines, bw, tol, digits, split_all = TRUE )split_by_grid.mc( grid, samples, events, lines, bw, tol, digits, split_all = TRUE )
split_by_grid.mc( grid, samples, events, lines, bw, tol, digits, split_all = TRUE )
A list with the split dataset
A spatial grid to split the data within
A feature collection of points representing the samples points
A feature collection of points representing the events points
A feature collection of linestrings 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 boolean indicating if we must split the lines at each vertex (TRUE) or only at event vertices (FALSE)
#This is an internal function, no example provided #This is an internal function, no example provided
Run the code above in your browser using DataLab