zenplots

Main functions for creating zenplots

zenplots zenplots-package

zenplots: Zigzag Expanded Navigation Plots

zenplot()

Main function to create a zenplot

zenpath()

Construct a Path of Indices to Order Variables

Data

Data sets

de_elect

German Election Data from 2002 and 2005

happiness

World Happiness Data Set

olive

Olive Oil Data Set

wine

Wine Data Set

1d plotting functions

Built in functions for 1d plots (1d)

arrow_1d_graphics()

Arrow plot in 1d using R's base graphics

arrow_1d_grid()

Arrow plot in 1d using the grid package

arrow_1d_loon()

Arrow plot in 1d using the interactive loon package

boxplot_1d_graphics()

Box plot in 1d using R's base graphics

boxplot_1d_grid()

Boxplot in 1d using the grid package

boxplot_1d_loon()

Boxplot in 1d using the interactive loon package

density_1d_graphics()

Density plot in 1d using R's base graphics

density_1d_grid()

Density plot in 1d using the grid package

density_1d_loon()

Density plot in 1d using the interactive loon package

hist_1d_graphics()

Histogram as 1d plot using R's base graphics

hist_1d_grid()

Histogram in 1d using the grid package

hist_1d_loon()

Histogram in 1d using the interactive loon package

jitter_1d_graphics()

Jittered dot plot in 1d using R's base graphics

jitter_1d_grid()

Jittered dot plot in 1d using the grid package

jitter_1d_loon()

Jittered dot plot in 1d using the interactive loon package

label_1d_graphics()

Label plot in 1d using R's base graphics

label_1d_grid()

Label plot in 1d using the grid package

label_1d_loon()

Label plot in 1d using the interactive loon package

layout_1d_graphics()

Layout plot in 1d

layout_1d_grid()

Layout plot in 1d using the grid package

layout_1d_loon()

Layout plot in 1d using the interactive loon package

lines_1d_graphics()

Line plot in 1d using R's base graphics

lines_1d_grid()

Lines plot in 1d using the grid package

lines_1d_loon()

Lines plot in 1d using the interactive loon package

points_1d_graphics()

Dot plot in 1d using R's base graphics

points_1d_grid()

Dot plot in 1d using the grid package

points_1d_loon()

Dot plot in 1d using the interactive loon package

rect_1d_graphics()

Rectangle plot in 1d using R's base graphics

rect_1d_grid()

Rectangle plot in 1d using the grid package

rect_1d_loon()

Rectangle plot in 1d using the interactive loon package

rug_1d_graphics()

Rug plot in 1d using R's base graphics

rug_1d_grid()

Rug plot in 1d using the grid package

rug_1d_loon()

Rug plot in 1d using the interactive loon package

2d plotting functions

Built in functions for 2d plots (2d)

arrow_2d_graphics()

Arrow plot in 2d using R's base graphics

arrow_2d_grid()

Arrow plot in 2d using the grid package

arrow_2d_loon()

Arrow plot in 2d using the interactive loon package

axes_2d_graphics()

Axes arrows in 2d using R's base graphics

axes_2d_grid()

Axes arrow using the grid package

axes_2d_loon()

Axes arrows in 2d using the interactive loon package

density_2d_graphics()

Density plot in 2d using R's base graphics

density_2d_grid()

Density plot in 2d using the grid package

density_2d_loon()

Density plot in 2d using the interactive loon package

group_2d_graphics()

Plot of labels indicating adjacent groups using R's base graphics

group_2d_grid()

Plot of labels indicating adjacent groups using the grid package

group_2d_loon()

Plot of labels indicating adjacent groups using the interactive loon package

label_2d_graphics()

Label plot in 2d using R's base graphics

label_2d_grid()

Label plot in 2d using the grid package

label_2d_loon()

Label plot in 2d using the interactive loon package

layout_2d_graphics()

Layout plot in 2d

layout_2d_grid()

Layout plot in 2d using the grid package

layout_2d_loon()

Layout plot in 2d using the interactive loon package

points_2d_graphics()

Point plot in 2d using R's base graphics

points_2d_grid()

Point plot in 2d using the grid package

points_2d_loon()

Point plot in 2d using the interactive loon package

qq_2d_graphics()

Quantile-quantile plot in 2d using R's base graphics

qq_2d_grid()

Quantile-quantile plot in 2d using the grid package

rect_2d_graphics()

Rectangle plot in 2d using R's base graphics

rect_2d_grid()

Rectangle plot in 2d using the grid package

rect_2d_loon()

Rectangle plot in 2d using the interactive loon package

Building your own plots (manipulating zargs)

Utility functions useful in constructing your own 1d and 2d plots

check_zargs()

Checking whether certain arguments appear in zargs

extract_1d()

Extracting information for our default/provided plot1d()

extract_2d()

Extracting information for our default/provided plot2d()

plot_indices()

Plot Indices of the Current Plot

Building your own plots (manipulating data)

Utility functions useful in manipulating data for your own plots

as_numeric()

A list of columns

burst()

Splitting an Input Object into a List of Columns

burst_aux()

Auxiliary function for burst()

na_omit_loon()

Helper function to remove NAs for loon plots

Miscellaneous graphical tools

Miscellaneous useful functions for constructing your own plots

adjust_bb()

Auxiliary function for adjusting a bounding box

l_ispace_config()

Configuring a loon plot to accommodate ispace

plot_exists()

Check whether functions (plot*d to zenplot()) exist

plot_region()

Function to set up the plot region for graphics plots

vport()

Viewport Constructing Function for Grid Functions

zenarrow()

Defining an arrow

The zenplot algorithm

Functions related to understanding the algorithms underlying zenplot

unfold()

Unfold the hypercube and produce all information concerning the zenpath and zenplot layout

get_layout()

Compute the layout of the zen plot

get_path()

Computing the path according to the provided method

get_zigzag_turns()

Compute turns for zigzag

move()

Determine the new position when moving from the current position in a given direction

next_move_tidy()

Determine the next position to move to and the turn out of there

Constructing zenpaths

Functions useful in constructing zenpaths

connect_pairs()

Connecting Possibly Overlapping Pairs Into a List of Paths

extract_pairs()

Extract Pairs from a Path of Indices

graph_pairs()

Turn pairs or paths into a graph

groupData()

Splitting a Matrix into a List of Matrices

indexData()

Indexing a Matrix or Data Frame According to Given Indices

Zenplot technical tools

All other functions

convert_occupancy()

Converting an Occupancy Matrix

is.standard()

Check Argument for Being a Vector, Matrix, Data Frame or a List of such

n2dcols_aux()

Auxiliary Function for Constructing Default n2dcols

num_cols()

Determine the number of columns if is.standard(x)

turn_checker()

Check the Turns (Number/Type)