commuting_matrix: Function to transform travel times into iceberg commuting costs
Description
Function to transform travel times into iceberg commuting costs
Usage
commuting_matrix(t_ij, epsilon)
Value
A NxN matrix of commuting costs
Arguments
- t_ij
NxN matrix - Travel time matrix across locations
- epsilon
Float - Parameter that transforms travel times to commuting costs