read_traffic: Reads traffic data from a CSV file.

Description Usage Arguments Value

View source: R/decomposition.R

Description

The input file should be a CSV files with the first row containing column names. The file should contain at least two columns: Time, Length

Usage

1
2
read_traffic(filename, use.power2len = TRUE, use.expfactor = 1,
  aggregation_function = sum)

Arguments

filename

The traffic data will be read from this file.

use.power2len

Length padded with zeroes to power of 2.

use.expfactor

How should the time be stretched (for debugging)

aggregation_function

Function to be applied on all samples that correspond to the same second.

Value

Time-series object which contains the regularized time series.


vsimko/trafficmsd documentation built on May 3, 2019, 7:08 p.m.