Learn R Programming

spNetwork (version 0.4.4.6)

split_by_grid_abw: 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)

Value

A list with the split dataset

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

Examples

Run this code
#This is an internal function, no example provided

Run the code above in your browser using DataLab