Match rows and columns of distance and trip matrices
bike_match_matrices(mat1, mat2)
A wide- or long-form trip or distance matrix returned from
bike_tripmat
or bike_distmat
.
The corresponding distance or trip matrix.
A list of the same matrices with matching start and end stations, and
in the same order passed to the routine (that is, mat1
then
mat2
). Each kind of matrix will be identified and named accordingly as
either "trip" or "dist". Matrices are returned in same format (long or wide)
as submitted.