Manual Tours, Manual Control of Dynamic Projections of Numeric Multivariate Data
Animate a ggtour as a .gif via {gganimate}
Animate a ggtour as and HTML widget via {plotly}
Append a fixed vertical height
Turns a tour path array into a long data frame.
Solve for the last basis of a guided tour.
Create a basis that gives uniform contribution in a circle
The basis of Orthogonal Discriminant Projection (ODP)
The basis of Orthogonal Linear Discriminant Analysis (OLDA)
The basis of Orthogonal Neighborhood Preserving Projection (OLPP)
The basis of Principal Component Analysis (PCA)
Create a manipulation space to rotate the manipulation variable in.
Development message
Binds replicated elements of a list as columns of a data frame.
Initialize common obj from .global ggtour()
objects & test their exi...
Replicate all vector elements of a list
Draw a basis on a static ggplot
Wrap a 1d ribbon of panels into 2d for animation
Create a "filmstrip" of the frames of a ggtour.
Prepare a new grammar of graphics tour
Interpolates a manual tour
Check ggplot layers for use of a specific geom
Orthonormality of a matrix
Retrieve/set last ggtour()
information
Suggest a manipulation variable.
Produce the series of projection bases to rotate a variable into and o...
Manually offset and scale the first 2 columns of a matrix or data.fram...
Returns the axis scale and position.
Animate a manual tour. superseded
Animates the provided tour path.
Tour proto for a 2D and 1D basis axes respectively
Wrapper function for default 2D/1D tours respectively.
Tour proto for data, 1D density, with rug marks
Tour proto for data, 1D density, with rug marks
Tour proto for frames square correlation
Tour proto for data, hexagonal heatmap
Tour proto highlighing specified points
Tour proto adding a vertical/horizontal line
Tour proto for data origin zero mark
Tour proto for data point
Tour proto for data, text labels
Prepare the ggplot object before passing to either animation package.
Render the frames as a gganimate animation.
Animation the frames as a HTML widget.
Performs a rotation on the manipulation space of the given manip var.
Runs a shiny app demonstrating manual tours
Save a tour basis array.
Set default color & fill for discrete variables
Preprocess numeric variables
Deprecated functions in package spinifex
.
spinifex
Theme spinifex
Plot a single frame of a manual tour.
Plot 2D projection frame and return the axes table.
Sample dataset of daily weather observations from Canberra airport in ...
Data visualization tours animates linear projection of multivariate data as its basis (ie. orientation) changes. The 'spinifex' packages generates paths for manual tours by manipulating the contribution of a single variable at a time Cook & Buja (1997) <doi:10.1080/10618600.1997.10474754>. Other types of tours, such as grand (random walk) and guided (optimizing some objective function) are available in the 'tourr' package Wickham et al. <doi:10.18637/jss.v040.i02>. 'spinifex' builds on 'tourr' and can render tours with 'gganimate' and 'plotly' graphics, and allows for exporting as an .html widget and as an .gif, respectively. This work is fully discussed in Spyrison & Cook (2020) <doi:10.32614/RJ-2020-027>.