plot_ftw: Plot the clipped Fietstelweek data

Description Usage Arguments Value

Description

Explore the clipped Fietstelweek data using the library tmap with its plot mode.

Usage

1
2
3
4
5
6
7
8
## S3 method for class 'ftw_atmp'
plot(x, ..., type = "network",
  network_coledges = "grey50", network_colnodes = "cyan",
  trips_coledges = "intensity", trips_ncol = 3, palette = "plasma")

## S3 method for class 'ftw_tmp'
plot(x, ..., network_coledges = "grey50",
  network_colnodes = "orange")

Arguments

x

object of class ftw_atmp or ftw_tmp

...

ignores

type

the method allows for two type of plots. A basic one which plots the network (default) and a facet plot of type trips per day that allows to plot the edges according to intensity or speed for the different days of the week.

network_coledges

if type is network, the parameter sets the color of the edges.

network_colnodes

if type is network, the parameter sets the color of the nodes.

trips_coledges

if type trips per day, the parameter sets the color of the edges based on intensity (default) or speed.

trips_ncol

if type trips per day, the parameter sets the number of columns to show on the facet plot.

palette

if type trips per day, sets the palette to color edges

Value

For object of class ftw_atmp plots according to the type. For object of class ftw_tmp returns a network plot to compare between 2015 (left) and 2016 (right)


loreabad6/ftw documentation built on March 10, 2021, 1:19 p.m.