Learn R Programming

tourr (version 1.1.0)

Tour Methods for Multivariate Data Visualisation

Description

Implements geodesic interpolation and basis generation functions that allow you to create new tour methods from R.

Copy Link

Version

Install

install.packages('tourr')

Monthly Downloads

1,985

Version

1.1.0

License

MIT + file LICENSE

Issues

Pull Requests

Stars

Forks

Maintainer

Last Published

August 24th, 2023

Functions in tourr (1.1.0)

display_density2d

Display tour path with a density and scatterplot
display_andrews

Andrews' curves tour path animation.
center

Center a numeric vector by subtracting off its mean.
animate

Animate a tour path.
dependence_tour

A dependence tour path.
dcor2d

Distance correlation index.
display_pca

Display tour path with principal component scores with original axes
display_idx

Display a 1D linear aggregation index
display_slice

Display tour path with a sliced scatterplot
display_groupxy

Display 2D tour projections displayed separately by groups
display_image

Image tour path animation.
find_best_frozen_dir

Find most promising direction in frozen space.
display_stereo

Anaglpyh tour path animation.
display_stars

Star glyph tour path animation.
display_dist

1d distribution tour path animation.
display_sage

Display tour path with a sage scatterplot
display_trails

Display tour path with trails
display_faces

Chernoff faces tour path animation.
correct_orientation

check if the current and target bases are of the same orientation
cumulative_radial

Calculate radial cumulative distribtuion
display_depth

Display 3d projection with depth cues
draw_tour_axes

Draw tour axes on the projected data with base graphics
estimate_eps

Estimate cutoff eps for section pursuit.
display_scatmat

Scatterplot matrix tour path animation.
display_pcp

Parallel coordinates tour path animation.
eucl_norm_sq

Calculate the squared Euclidean norm of a vector x
check_freezer_safe

Check matrix is a valid frozen matrix
cmass

Central mass index.
frozen_tour

A frozen tour path.
compute_v_rel

If not set, compute epsilon based on half_range
freeze

Freeze and thaw matrices
linear_breaks

Returns n equidistant bins between a and b
find_best_dir

Find the most promising direction to travel in.
geodesic_path

Generate geodesic path.
find_frozen_path_peak

Find most highest peak along frozen geodesic.
display_xy

Display tour path with a scatterplot
find_platform

Find the platform Find the platform being used by the user
guided_section_tour

A guided section tour path.
guided_tour

A guided tour path.
little_tour

A little tour path.
mapColors

Map vector of factors to color
grand_tour

A grand tour path.
find_path_peak

Find the most interesting projection along a geodesic.
mapShapes

Map vector of factors to pch
frozen_guided_tour

The frozen guided tour
weights_bincount_radial

Computes weights for the rescaling of radial bin counts.
search_geodesic

A pseudo-derivative, line search algorithm.
search_frozen_geodesic

A pseudo-derivative, line search algorithm along frozen geodesics.
new_geodesic_path

Generate a geodesic path between bases supplied by generator
holes

Holes index.
tourr-package

tourr: Tour Methods for Multivariate Data Visualisation
local_tour

A local tour path.
geodesic_info

Calculate information required to interpolate along a geodesic path between two frames.
draw_slice_center

Draw slice center guide with base graphics
interpolate

Interpolate geodesically between bases.
path_index

Compute index values for a tour history.
render_gif

Render frames of animation to a gif file
new_tour

Create a new tour.
render_anim

Render a set of animation frames
render

Render frames of animation to disk
norm_bin

Normality index.
plot.path_curve

Plot history curves.
manual_slice

Manually slice along a variable axis.
path_dist

Compute distance matrix from bases.
path_curves

Draw the path that the geodesics took.
is_orthonormal

Test if a numeric matrix is orthonormal.
plot.path_index

Plot history index with ggplot2.
normalise

Normalise a numeric matrix.
step_angle

Step along an interpolated path by angle in radians.
search_better

Search for a better projection near the current projection.
pda_pp

PDA projection pursuit index.
search_better_random

Search for a better projection using simulated annealing
step_fraction

Step along an interpolated path by fraction of path length.
lda_pp

LDA projection pursuit index.
render_proj

Render plotly animation frame
orthonormalise

Orthonormalise using modified Gram-Schmidt process.
paths_index

Compute index value for many histories.
proj_dist

Calculate the distance between two bases.
t1

Saved history of guided tour with holes
xnul

A null function
to_stop

Prints information on how to stop the output
search_posse

Search for a better projection based on Poss, 1995
project3d

Stereographic projection
search_polish

Search very locally to find slightly better projections to polish a broader search.
slice_binning

Separately binning observations inside and outside the slice.
radial_tour

A radial tour path.
rescale

Rescale a matrix or data frame
planned_tour

A planned tour path.
radial_bin_weight_inv

Inverse weights for rescaling counts in radial bins.
save_history

Save tour history.
orthonormalise_by

Orthonormalise one matrix by another.
slice_index

Section pursuit index.
splines2d

Spline based index.
sphere_data

Sphere a matrix (or data frame) by transforming variables to principal components.
anchored_orthogonal_distance

Calculate orthogonal distances
Flea measurements

Flea beatle measurements
andrews

Compute Andrews' curves
angular_breaks

Returns n equidistant bins between -pi and pi
areColors

Test if all entries are colors
basis_init

Generate initial basis.
Ozone measurements

Monthly ozone measurements over Central America
Laser measurements

Turnable laser measurements from Bellcore
Tropical Atmosphere Ocean

Tropical Atmosphere Ocean data
basis_nearby

Generate nearby bases, e.g. for simulated annealing.
bases_little

Generate bases for the little tour
anaglyph

Draw anaglyphs with base graphics.
Rat CNS

Rat CNS Gene Expression
basis_random

Generate a random basis
Olive oil measurements

Olive oil samples from Italy
Places Ratings

Ratings of different locations across North America
blank_plot

Set up a blank plot to display data projections