powered by
Convert station data to adjacency matrix
make_adjacency_matrix(stations, depart, arrive)
data.frame which set of stopping points recorded in order of stopping.
Column name of a stop.
Give the name of the column indicating the next stop at the target stop.
# NOT RUN { make_adjacency_matrix(jreast_jt, st_code, next_st_code) # }
Run the code above in your browser using DataLab