prepare_elements_netlistw: Data preparation for network_listw

View source: R/neighbouring_sf.R

prepare_elements_netlistwR Documentation

Data preparation for network_listw

Description

Function to prepare selected points and selected lines during the process.

Usage

prepare_elements_netlistw(is, grid, snapped_points, lines, maxdistance)

Arguments

is

The indices of the quadras to use in the grid

grid

A feature collection of polygons representing the quadras to split calculus

snapped_points

The start and end points snapped to the lines

lines

The lines representing the network

maxdistance

The maximum distance between two observation to considere them as neighbours.

Value

A list of two elements : selected points and selected lines

Examples

#no example provided, this is an internal function

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