Learn R Programming

⚠️There's a newer version (1.2.4) of this package.Take me there.

tourr (version 0.6.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

2,053

Version

0.6.0

License

MIT + file LICENSE

Issues

Pull Requests

Stars

Forks

Maintainer

Di Cook

Last Published

December 11th, 2020

Functions in tourr (0.6.0)

Olive oil measurements

Olive oil samples from Italy
andrews

Compute Andrews' curves
anchored_orthogonal_distance

Calculate orthogonal distances
Tropical Atmosphere Ocean

Tropical Atmosphere Ocean data
Places Ratings

Ratings of different locations across North America
Flea measurements

Flea beatle measurements
Laser measurements

Turnable laser measurements from Bellcore
Rat CNS

Rat CNS Gene Expression
Ozone measurements

Monthly ozone measurements over Central America
anaglyph

Draw anaglyphs with base graphics.
angular_breaks

Returns n equidistant bins between -pi and pi
basis_nearby

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

Generate initial basis.
basis_random

Generate a random basis
display_scatmat

Scatterplot matrix tour path animation.
display_sage

Display tour path with a sage scatterplot
compute_v_rel

If not set, compute epsilon based on half_range
animate

Animate a tour path.
cmass

Central mass index.
estimate_eps

Estimate cutoff eps for section pursuit.
eucl_norm_sq

Calculate the squared Euclidean norm of a vector x
dependence_tour

A dependence tour path.
bases_little

Generate bases for the little tour
areColors

Test if all entries are colors
display_pca

Display tour path with principal component scores with original axes
little_tour

A little tour path.
local_tour

A local tour path.
display_andrews

Andrews' curves tour path animation.
cumulative_radial

Calculate radial cumulative distribtuion
find_frozen_path_peak

Find most highest peak along frozen geodesic.
find_path_peak

Find the most interesting projection along a geodesic.
plot.path_index

Plot history index with ggplot2.
dcor2d

Distance correlation index.
grand_tour

A grand tour path.
display_density2d

Display tour path with a density and scatterplot
display_depth

Display 3d projection with depth cues
display_xy

Display tour path with a scatterplot
display_slice

Display tour path with a sliced scatterplot
guided_section_tour

A guided section tour path.
display_stars

Star glyph tour path animation.
blank_plot

Set up a blank plot to display data projections
proj_dist

Calculate the distance between two bases.
planned_tour

A planned tour path.
draw_tour_axes

Draw tour axes with base graphics
center

Center a numeric vector by subtracting off its mean.
search_better_random

Search for a better projection using simulated annealing
search_better

Search for a better projection near the current projection.
slice_binning

Separately binning observations inside and outside the slice.
display_groupxy

Display 2D tour projections displayed separately by groups
plot.path_curve

Plot history curves.
display_dist

1d distribution tour path animation.
check_freezer_safe

Check matrix is a valid frozen matrix
display_image

Image tour path animation.
step_angle

Step along an interpolated path by angle in radians.
step_fraction

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

Section pursuit index.
holes

Holes index.
guided_tour

A guided tour path.
display_pcp

Parallel coordinates tour path animation.
display_stereo

Anaglpyh tour path animation.
display_trails

Display tour path with trails
find_best_dir

Find the most promising direction to travel in.
display_faces

Chernoff faces tour path animation.
interpolate

Interpolate geodesically between bases.
find_platform

Find the platform Find the platform being used by the user
freeze

Freeze and thaw matrices
geodesic_info

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

Generate geodesic path.
find_best_frozen_dir

Find most promising direction in frozen space.
new_tour

Create a new tour.
frozen_guided_tour

The frozen guided tour
is_orthonormal

Test if a numeric matrix is orthonormal.
lda_pp

LDA projection pursuit index.
radial_bin_weight_inv

Inverse weights for rescaling counts in radial bins.
splines2d

Spline based index.
path_curves

Draw the path that the geodesics took.
linear_breaks

Returns n equidistant bins between a and b
project3d

Stereographic projection
norm_bin

Normality index.
sphere_data

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

Normalise a numeric matrix.
orthonormalise_by

Orthonormalise one matrix by another.
orthonormalise

Orthonormalise using modified Gram-Schmidt process.
frozen_tour

A frozen tour path.
new_geodesic_path

Generate a geodesic path between bases supplied by generator
mapColors

Map vector of factors to color
render_gif

Render frames of animation to a gif file
save_history

Save tour history.
rescale

Rescale a matrix or data frame
pda_pp

PDA projection pursuit index.
paths_index

Compute index value for many histories.
search_posse

Search for a better projection based on Poss, 1995
render

Render frames of animation to disk
search_polish

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

Compute distance matrix from bases.
path_index

Compute index values for a tour history.
search_frozen_geodesic

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

Prints information on how to stop the output
xnul

A null function
search_geodesic

A pseudo-derivative, line search algorithm.
weights_bincount_radial

Computes weights for the rescaling of radial bin counts.
tourr-package

tourr: Tour Methods for Multivariate Data Visualisation