dt_to_speed_map | R Documentation |
Converts a data.frame
with road OSM id's and respective speeds
to a Java Map<Long, Float> for use by r5r_network.
dt_to_speed_map(dt)
dt |
data.frame/data.table. Table specifying the
speed modifications. The table must contain columns |
A speedMap (Java HashMap<Long, Float>)
Other java support functions:
dt_to_lts_map()
,
get_java_version()
,
java_to_dt()
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.