Description Usage Arguments Value
Generate a neutral trip matrix by fitting a spatial interaction model. If no
distance decay parameter, k
, is given, the value is derived by
maximising the fit of the spatial interaction model to the observed trip
matrix.
1 | neutral_trips(distmat, tripmat, k = NULL)
|
distmat |
A station-to-station distance matrix, generally obtained from internal distmats data |
tripmat |
A station-to-station trip matrix, generally obtained from internal tripmats data |
k |
Value of exponential decay used in spatial interaction model; if not specified, value is determined by maximising fit between neutral and observed models. |
A matrix equivalent to tripmat
, but in which values are
generated by fitting a spatial interaction model.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.