dd_get_tripdistmats: dd_get_tripdistsmatS

Description Usage Arguments Note

Description

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.

Usage

1

Arguments

bikedb

Name of database

Note

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").


mpadge/distdecay documentation built on May 24, 2019, 6:08 a.m.