Description Usage Arguments Details Value
proximity
uses origin-destination matrix
to calculate proximity indicator
1 2 3 4 5 6 7 8 9 10 11 |
OD |
data.table with origin-destination matrix |
or |
column in |
ttime |
column in |
dest |
optional column in |
pattern |
optional a pattern used to split |
destinations |
optional dataset of available destinations.
If not specified, all available destinatinos from |
destinations_id |
optional column in destinatinos with ids of available destinations |
or_dest |
a bolean argument. When |
zero |
a bolean argument. When |
proximity()
calculates (selects) travel time (or distance)
to the closests destination out of all available ones.
It can select any destination of all available within OD dataset
or to destination available in separate dataset (using join).
Additional parameters enable to exclude OD pairs where origin and destination
have the same ID or a measured time is equal to zero.
a data.table object with distance / travel time to the nearest destination
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.