filter.congestion: A function to apply congestion data filter

Description Usage Arguments Examples

Description

The function removes the a day's datat if the running length of the congested data is shorter than 5 min. The congested data is defined as occ>con.occ. The default value of con.occ is 0.3

Usage

1
filter.congestion(tables, con.occ = 0.3, lgth = 10)

Arguments

tables

a list in which each element is a dataframe for one day's traffic data. It could be the output of read.processed().

con.occ

The lower bound of occupancy for congestion. The default value of con.occ is 0.3

Minimum

length of the qualified segment

Examples

1
tables<-filter.missing(tables, con.occ=0.3, lgth=10)

JaredSun26/pems documentation built on May 7, 2019, 10:32 a.m.