plot_places_chronology: Plot single or multiple place chronologies in different...

Description Usage Arguments Value

View source: R/plot-places-chronology.R

Description

Plot single or multiple place chronologies in different scales.

Usage

1
2
3
4
5
6
7
8
9
plot_places_chronology(data, id = "all", weekday = "all", map = NULL,
  size_range = c(3, 15), colour_path = "darkred", size_path = 2,
  alpha_path = 0.75, linetype_path = "solid", force_repel = 3,
  legend = TRUE, structure = TRUE, map_extent = "panel", title = NULL,
  axis_label = TRUE, xlim = NULL, ylim = NULL, graph = TRUE, ncol = 3,
  unique_places = TRUE, print_place_duration = TRUE,
  activity_duration_overall = TRUE, facet_scales = "fixed",
  point_padding = unit(1, "lines"), myriad = TRUE, exclude_sleep = TRUE,
  shape = 0.2, labels = NULL)

Arguments

data

a data frame (columns: ID, day, duration, place, address, lon, lat, prop_duration).

id

vector, which contains questionnaire ids. Choosa "all" to compute all ids.

weekday

vector, which contains the weekday to plot.

map

a ggmap map object.

size_range

specify the size for visualizatipn of duration.

colour_path

sepcify the path line colour.

size_path

specify the path line size.

alpha_path

specify the path line alpha value [0:1].

linetype_path

specify the linetype of the path line.

force_repel

specify how heavy the repel algorithmn should be.

legend

show or hide legends (boolean).

structure

show or hide map background (boolean).

map_extent

how much of the plot should the map take up? "normal", "device", or "panel" (default).

title

title of the plot.

axis_label

show or hide axis labels (boolean).

xlim

specify plot x limits.

ylim

specify plot y limits.

graph

whether to plot or not to plot the praph (boolean).

ncol

number of cols, if there are multiple plots (facets).

unique_places

plot only unique places. Useful to visualize place related overall structure (boolean).

print_place_duration

print place overall duration (hours).

activity_duration_overall

wheter plot activities per week or for all weeks at once (boolean).

facet_scales

should Scales be fixed ("fixed", the default), free ("free"), or free in one dimension ("free_x", "free_y").

point_padding

Amount of padding around labeled point. Defaults to unit(0, "lines").

myriad

use Myriad Pro font (boolean).

exclude_sleep

exclude sleep duration (boolean).

shape

if not NULL the path will be curved.

labels

facet labels.

Value

ggplot2 visualization of place chronology data.


inventionate/TimeSpaceAnalysis documentation built on May 18, 2019, 5:47 a.m.