explore: Explore the clipped Fietstelweek data

Description Usage Arguments

View source: R/explore.R

Description

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

Usage

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
explore(obj, type, ..., network_coledges, network_colnodes, edges_coledges,
  nodes_colnodes, trips_coledges, trips_weekday, trips_hour, palette)

## S3 method for class 'ftw_atmp'
explore(obj, type = "network", ...,
  network_coledges = "#ff8d00", network_colnodes = "#800080",
  edges_coledges = "intensity", nodes_colnodes = "waiting time",
  trips_coledges = "intensity", trips_weekday = c(0, 1, 2, 3, 4),
  trips_hour = NULL, palette = "plasma")

## S3 method for class 'ftw_tmp'
explore(obj, type = "network", ...,
  network_coledges = "#ff8d00", network_colnodes = "#800080",
  edges_coledges = "intensity", nodes_colnodes = "waiting time",
  trips_coledges = "intensity", trips_weekday = c(0, 1, 2, 3, 4),
  trips_hour = NULL, palette = "plasma")

Arguments

obj

an object of class ftw_atmp or ftw_tmp

type

the basic information within the data that the user wants to explore. Can be set to network (default), edges, nodes, trips.

...

ignored

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.

edges_coledges

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

nodes_colnodes

if type is nodes, the parameter sets the color of the nodes based on waiting time (default) or count.

trips_coledges

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

trips_weekday

if type is trips, the parameter subsets the data according to the day of the week. Monday is equivalent to 0 and Sunday to 6. The default shows weekdays c(0,1,2,3,4).

trips_hour

if type is trips, the parameter subsets the data according to the hour of the day. The default shows the whole day data.

palette

sets the palette to color edges and nodes for types edges, nodes, and trips.


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