network_window: Create network window zones

Description Usage Arguments

View source: R/network_window.R

Description

Create network window zones

Usage

1
network_window(adjacency_matrix, dist_matrix, type, cluster_max)

Arguments

adjacency_matrix

A boolean matrix, with element (i,j) set to TRUE if location j is adjacent to location i.

dist_matrix

Distance matrix

type

Currently, "connected_B" only.

cluster_max

Maximum cluster size. Zone If this value is reached, the area will not be expanded any further. It's a good idea to keep it to the number of stops on the line you're dealing with.


ssrn documentation built on July 1, 2020, 10:22 p.m.