make_adjacency_matrix {ssrn}R Documentation

Convert station data to adjacency matrix

Description

Convert station data to adjacency matrix

Usage

make_adjacency_matrix(stations, depart, arrive)

Arguments

stations

data.frame which set of stopping points recorded in order of stopping.

depart

Column name of a stop.

arrive

Give the name of the column indicating the next stop at the target stop.

Examples

make_adjacency_matrix(jreast_jt, st_code, next_st_code)

[Package ssrn version 0.1.0 Index]