Description Usage Arguments Note
Function to calculate station-to-station trip and distance matrices from a
database generated with bikedata::store_bikedb
. This function
(re-)generates the internally bundled distmats and tripmats
data. It should only need to be used to generate data that are more recent
that these internally bundled versions.
1 | dd_get_tripdistmats(bikedb)
|
bikedb |
Name of database |
The directory containing the database can be retrieveed
with dd_get_data_dir, and set with dd_set_data_dir. The data
generated by this function can replace current internal data by running
save(res$tripmats,
system.file("data","tripmats.rda",package="distdecay")
, and
save(res$distmats,
system.file("data","distmats.rda",package="distdecay")
.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.