View source: R/plot-places-chronology-meaning.R
plot_places_chronology_meaning | R Documentation |
Plot place chronologies map structure and zoom in.
plot_places_chronology_meaning(
data,
id,
weekday = "all",
size_range = NULL,
colour_path = "black",
size_path = 2,
alpha_path = 0.25,
alpha_points = 1,
linetype_path = "solid",
title = NULL,
axis_label = FALSE,
print_place_duration = TRUE,
exclude_sleep = TRUE,
facets = FALSE,
facets_include_place = NULL,
facets_include_all = FALSE,
exclude_na = FALSE,
exclude = NULL,
exclude_meaning = NULL,
meanings = NULL,
map = FALSE,
map_zoom = 10,
map_add_x = 0.2,
map_add_y = 0.1,
graph = TRUE,
area_fill = "white",
area_colour = "black",
area_alpha = 0,
area_size = 1.5,
con_size = 5,
area_linetype = "solid",
area_expand = 0.5,
area_label_fontsize = c(12, 10),
area_buffer = 10,
map_scalebar = TRUE,
map_scalebar_location = "topright",
map_scalebar_text_size = 4.5,
map_scalebar_box_size = 0.015,
map_scalebar_border_size = 0.85,
map_scalebar_dist = 1,
map_scalebar_text_dist = 0.02,
map_scalebar_unit_pos_dist = 0.5
)
data |
a data frame (columns: ID, day, duration, place, address, lon, lat, prop_duration). |
id |
vector, which contains questionnaire ids. Choose "all" to compute all ids. |
weekday |
vector, which contains the weekday to plot. |
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]. |
alpha_points |
specify the point alpha value [0:1]. |
linetype_path |
specify the linetype of the path line. |
title |
title of the plot. |
axis_label |
show or hide axis labels (boolean). |
print_place_duration |
print place overall duration (hours). |
exclude_sleep |
exclude sleep duration (boolean). |
facets |
plot facets (boolean). |
facets_include_place |
explicit include places in facets (vector). |
facets_include_all |
include all place names in facet plot (boolean). |
exclude_na |
drop NA places (boolean). |
exclude |
exclude specific places from the plot (vector). |
exclude_meaning |
meanings to be excluded (vector). |
meanings |
give places a meaning for grouping (vector). |
map |
use map background (boolean). |
map_zoom |
map zoom level. |
map_add_x |
adjust map x area. |
map_add_y |
adjust map y area. |
graph |
plot graph (boolean). |
area_fill |
fill colour of meaning area. |
area_colour |
line colour of meaning area. |
area_alpha |
alpha of meaning area. |
area_size |
size of meaning area. |
con_size |
size of the label connector (numeric). |
area_linetype |
linetype of meaning area. |
area_expand |
size of the area expand (numeric). |
area_label_fontsize |
area label fontsize (vector). |
area_buffer |
The size of the region around the mark where labels cannot be placed (in mm). |
map_scalebar |
show a scale bar (boolean). |
map_scalebar_location |
location of the scalebar. |
map_scalebar_text_size |
size of the scale text. |
map_scalebar_box_size |
size of the box. |
map_scalebar_border_size |
size of the border. |
map_scalebar_dist |
displayed disctance. |
map_scalebar_text_dist |
distance between box and text. |
map_scalebar_unit_pos_dist |
add space between scalebar values and unit. |
ggplot2 visualization of place chronology data.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.