Learn R Programming

telraamStats (version 1.1.2)

melt_direction_mode: Melt dataframe to obtain one row per hour/segment/transportation mode/direction This format makes graphs with ggplot and filtering easier.

Description

Melt dataframe to obtain one row per hour/segment/transportation mode/direction This format makes graphs with ggplot and filtering easier.

Usage

melt_direction_mode(data)

Value

DataFrame with one row per hour/segment/transportation mode/direction

Arguments

data

Traffic Data Frame

Examples

Run this code
melt_direction_mode(traffic[0:2,])

Run the code above in your browser using DataLab