Categorize DTV deviation and aggregate data
Source:R/counts.R
process_get_dtv_estimation_quality.Rd
Takes a tibble from process_join_counts_and_links. Deviation between count volumes and linkstats is calculated and categorized (i.e. deviation of 1.2 means 20 percent more DTV in MATSim than in counts). If parameter 'aggr' is set to TRUE, data will be aggregated for each run and link type. Can be used to visualize model quality by link type and to compare several runs.
Usage
process_get_dtv_estimation_quality(
joined_frame,
aggr = TRUE,
ll = ~x * 0.8 - 200,
ul = ~x * 1.2 + 200
)
Arguments
- joined_frame
A tibble from process_join_counts_and_links
- aggr
Boolean, if categorized data should returned aggregated, default is TRUE.
- ll
Formula to calculate lower limit of the quality label 'exact', default = 0.8*x - 200
- ul
Formula to calculate lower limit of the quality label 'exact', default = 1.2*x + 200