Skip to contents

Plot decomposed data

Usage

plot_deseas(
  data,
  sensor1,
  sensor2,
  hour_x,
  direction1,
  direction2,
  mobility,
  norm,
  vacations = NULL,
  public_holidays = NULL
)

Arguments

data

Data frame containing the data

sensor1

The segment ID for sensor 1

sensor2

The segment ID for sensor 2

hour_x

The hour to filter on

direction1

The direction for sensor 1

direction2

The direction for sensor 2

mobility

A character vector indicating the mobility types to include in the filter

norm

A character indicating whether to normalize the results

vacations

vacations period for filtering function

public_holidays

public holidays period for filtering function

Value

A list of plots including trend, seasonal, random, peaks, and correlation