link_targets: Percent of links on target

Description Usage Arguments Value Examples

View source: R/link_targets.R

Description

Percent of links on target

Usage

1
2
link_targets(links, volume, count, freeway_scope = NULL,
  volume_scope = NULL)

Arguments

links

Model link table as a tidy data frame, with each row representing an analysis link. The function assumes that the data is already tidy: two-way links should already be converted to single values, etc.

volume

Character string identifying the modeled volume in the link table.

count

Character string identifying the calibration/validation counts in the link table.

freeway_scope

A character string that will dplyr::filter(links, freeway_scope) down to freeway/expressway links. See examples.

volume_scope

A character string that will dplyr::filter(links, volume_scope) down to high-volume links. See examples.

Value

A data_frame with the tests listed by row

Examples

1
2
link_targets(links, "volume", "count",
             "facility_group == 'Expressway'", "volume > 10000")

pbsag/outviz documentation built on Dec. 7, 2019, 5:50 a.m.