Description Usage Arguments Details Value Author(s) See Also
Load publicly available sample networks and trip tables in the TNTP format
1 2 | tntp.network(linkfile)
tntp.od(odfile)
|
linkfile |
File containing network links |
odfile |
File containing origin/destination flow information |
Use these functions to import sample networks in a standard format originally developed by Hillel Bar-Gera.
Such networks can be found here: http://www.bgu.ac.il/~bargera/tntp
No function is provided for reading the node information that is sometimes supplied with these networks, since those
files are generally amenable to input through one of the usual read.table
variants.
tntp.network
returns a highway.net
structure suitable for use with travelr functions.
tntp.od
returns a matrix of origin/destination flows
Jeremy Raw Hillel Bar-Gera (TNTP file format)
http://www.bgu.ac.il/~bargera/tntp
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.