Description Usage Arguments Value
Prepares model data for tlfd plotting. Given a skim table and model trip
table, will return a table in the format needed by plotly_tlfd
and
plot_tlfd
. Also calculates average impedance and intrazonal percent.
1 | prep_tlfd_data(skim, model, max_dist = 60, pct = TRUE)
|
skim |
An impedance dataframe with the following columns
|
model |
A trip dataframe with the following columns.
|
max_dist |
Maximum distance bin to create |
pct |
|
A named list with three components
A dataframe with a bin
column of impedance and a count
column of observations, which can be fed to plot(ly)_tlfd
The average trip length
The intrazonal percentage
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.