split_by_grid_abw: Split data with a grid for the adaptive bw function

split_by_grid_abwR Documentation

Split data with a grid for the adaptive bw function

Description

Function to split the dataset according to a grid for the adaptive bw function.

Usage

split_by_grid_abw(grid, events, lines, bw, tol, digits)

Arguments

grid

A spatial grid to split the data within

events

A feature collection of points representing the events

lines

A feature collection of lines representing the network

bw

The kernel bandwidth (used to avoid edge effect)

tol

A float indicating the spatial tolerance when snapping events on lines

digits

The number of digits to keep

Value

A list with the split dataset

Examples

#This is an internal function, no example provided

JeremyGelb/spNetwork documentation built on May 24, 2024, 7:23 p.m.