Skip to contents

Takes a tibble from process_join_counts_and_links to create a scatterplot with counts on the x axis and MATSim DTV on the y axis, colored by the road type. Lower and upper limits define the section which is considered an 'exact' estimation. Limits are defined by custom formulas.

Usage

plot_count_scatterplot(
  joined_frame,
  ll = ~x * 0.8 - 200,
  ul = ~x * 1.2 + 200,
  threshold = 100
)

Arguments

joined_frame

A tibble from process_join_counts_and_links

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

threshold

Threshold from which data is scaled to log10.

Value

An adjustable ggplot scatter plot