Skip to contents

In-built data

flea
Flea beatle measurements
Laser measurements laser
Turnable laser measurements from Bellcore
Olive oil measurements olive
Olive oil samples from Italy
Ozone measurements ozone
Monthly ozone measurements over Central America
Places Ratings places
Ratings of different locations across North America
Rat CNS ratcns
Rat CNS Gene Expression
Tropical Atmosphere Ocean tao
Tropical Atmosphere Ocean data
t1
Saved history of guided tour with holes

Pre-processing

Functions for data pre-processing

center()
Center a numeric vector by subtracting off its mean.
rescale()
Rescale a matrix or data frame

Tour path construction

Functions for constructing various tour paths

grand_tour()
A grand tour path.
guided_tour()
A guided tour path.
guided_section_tour()
A guided section tour path.
little_tour()
A little tour path.
local_tour()
A local tour path.
radial_tour()
A radial tour path.
planned_tour() planned2_tour()
A planned tour path.
dependence_tour()
A dependence tour path.
frozen_guided_tour()
The frozen guided tour
frozen_tour()
A frozen tour path.
manual_slice()
Manually slice along a variable axis.
guided_anomaly_tour()
A guided anomaly tour path.

Tour display

Functions for various tour display

animate()
Animate a tour path.
display_andrews() animate_andrews()
Andrews' curves tour path animation.
display_density2d() animate_density2d()
Display tour path with a density and scatterplot
display_depth() animate_depth()
Display 3d projection with depth cues
display_dist() animate_dist()
1d distribution tour path animation.
display_faces() animate_faces()
Chernoff faces tour path animation.
display_groupxy() animate_groupxy()
Display 2D tour projections displayed separately by groups
display_idx() animate_idx()
Display a 1D linear aggregation index
display_image() animate_image()
Image tour path animation.
display_pca() animate_pca()
Display tour path with principal component scores with original axes
display_pcp() animate_pcp()
Parallel coordinates tour path animation.
display_sage() animate_sage()
Display tour path with a sage scatterplot
display_scatmat() animate_scatmat()
Scatterplot matrix tour path animation.
display_slice() animate_slice()
Display tour path with a sliced scatterplot
display_stars() animate_stars()
Star glyph tour path animation.
display_stereo() animate_stereo()
Anaglpyh tour path animation.
display_trails() animate_trails()
Display tour path with trails
display_xy() animate_xy()
Display tour path with a scatterplot

Indices

Index functions in guided tour

cmass()
Central mass index.
holes()
Holes index.
lda_pp()
LDA projection pursuit index.
pda_pp()
PDA projection pursuit index.
dcor2d() dcor2d_2()
Distance correlation index.
splines2d() loess2d()
Spline/loess based index.
slice_index()
Section pursuit index.
norm_bin() norm_kol()
Normality index.
stringy()
Scagnostic indexes.
MIC() TIC()
Maximum and total information coefficient index.
anomaly_index()
Anomaly index.
skewness()
Skewness index.

Search functions

Functions for index optimisation in guided tour

search_jellyfish() check_dup()
A jellyfish optimiser for projection pursuit guided tour
search_better()
Search for a better projection near the current projection.
search_better_random()
Search for a better projection using simulated annealing
search_geodesic()
A pseudo-derivative, line search algorithm.
search_polish()
Search very locally to find slightly better projections to polish a broader search.
search_posse()
Search for a better projection based on Poss, 1995

Misc calculation

Functions for calculating various tour components

anchored_orthogonal_distance()
Calculate orthogonal distances
andrews()
Compute Andrews' curves
angular_breaks()
Returns n equidistant bins between -pi and pi
linear_breaks()
Returns n equidistant bins between a and b
estimate_eps()
Estimate cutoff eps for section pursuit.
interpolate()
Interpolate geodesically between bases.
path_dist()
Compute distance matrix from bases.
path_index()
Compute index values for a tour history.
proj_dist()
Calculate the distance between two bases.

Utility

path_curves()
Draw the path that the geodesics took.
render()
Render frames of animation to disk
render_gif()
Render frames of animation to a gif file
render_proj()
Render plotly animation frame
render_anim()
Render a set of animation frames
draw_tour_axes()
Draw tour axes on the projected data with base graphics
save_history()
Save tour history.
areColors()
Test if all entries are colors
mapColors()
Map vector of factors to color
mapShapes()
Map vector of factors to pch
sphere_data()
Sphere a matrix (or data frame) by transforming variables to principal components.
mahal_dist()
Calculate the Mahalanobis distance between points and center.