Learn R Programming

spNetwork (version 0.4.4.6)

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

Value

A list of two elements : selected points and selected lines

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.

Examples

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

Run the code above in your browser using DataLab