ordinary_sequences: Calculate the subset of trip sequences which are ordinary.

Description Usage Arguments Value

View source: R/sequences.R

Description

Calculate the subset of trip sequences which are ordinary.

Usage

1
ordinary_sequences(sequences, G, min_rate, min_utility, .keep_cols = FALSE)

Arguments

sequences

a tibble of sequences (with columns 's', 'l', 'rate', 'utility')

G

igraph object representing the ANPR flow network

min_rate

minimum accepted daily observation rate: sequences observed at a daily rate below this threshold are rejected.

min_utility

minimum accepted route utility

.keep_cols

whether to keep cols other than 's' and 'l'

Value

filtered tibble


ppintosilva/anprflows documentation built on May 20, 2021, 3:25 p.m.