Learn R Programming

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

tourr

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,470

Version

0.5.5

License

MIT + file LICENSE

Issues

Pull Requests

Stars

Forks

Maintainer

Hadley Wickham

Last Published

August 2nd, 2017

Functions in tourr (0.5.5)

Places Ratings

Ratings of different locations across North America
Rat CNS

Rat CNS Gene Expression
basis_nearby

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

Generate a random basis
display_stars

Star glyph tour path animation.
display_stereo

Anaglpyh tour path animation.
freeze

Freeze and thaw matrices
frozen_guided_tour

The frozen guided tour
Olive oil measurements

Olive oil samples from Italy
Ozone measurements

Monthly ozone measurements over Central America
dependence_tour

A dependence tour path.
display_andrews

Andrews' curves tour path animation.
display_trails

Display tour path with trails
display_xy

Display tour path with a scatterplot
find_path_peak

Find the most interesting projection along a geodesic.
find_platform

Find the platform Find the platform being used by the user
Flea measurements

Flea beatle measurements
Laser measurements

Turnable laser measurements from Bellcore
check_freezer_safe

Check matrix is a valid frozen matrix
cmass

Central mass index.
Tropical Atmosphere Ocean

Tropical Atmosphere Ocean data
anaglyph

Draw anaglyphs with base graphics.
blank_plot

Set up a blank plot to display data projections
center

Center a numeric vector by subtracting off its mean.
display_pcp

Parallel coordinates tour path animation.
display_scatmat

Scatterplot matrix tour path animation.
draw_tour_axes

Draw tour axes with base graphics
display_faces

Chernoff faces tour path animation.
find_best_frozen_dir

Find most promising direction in frozen space.
find_frozen_path_peak

Find most highest peak along frozen geodesic.
geodesic_path

Generate geodesic path.
grand_tour

A grand tour path.
new_tour

Create a new tour.
display_image

Image tour path animation.
local_tour

A local tour path.
new_geodesic_path

Generate a geodesic path between bases supplied by generator
orthonormalise

Orthonormalise using modified Gram-Schmidt process.
orthonormalise_by

Orthonnormalise one matrix by another.
plot.path_curve

Plot history curves.
normalise

Normalise a numeric matrix.
render

Render frames of animation to disk
rescale

Rescale a matrix or data frame
plot.path_index

Plot history index with ggplot2.
to_stop

Prints information on how to stop the output
xnul

A null function
andrews

Compute Andrews' curves
animate

Animate a tour path.
bases_little

Generate bases for the little tour
interpolate

Interpolate geodesically between bases.
is_orthonormal

Test if a numeric matrix is orthonormal.
path_index

Compute index values for a tour history.
find_best_dir

Find the most promising direction to travel in.
lda_pp

LDA projection pursuit index.
little_tour

A little tour path.
path_curves

Draw the path that the geodesics took.
path_dist

Compute distance matrix from bases.
proj_dist

Calculate the distance between two bases.
project3d

Stereographic projection
step_angle

Step along an interpolated path by angle in radians.
step_fraction

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

Compute index value for many histories.
search_better_random

Search for better projection, with stochastic component.
search_frozen_geodesic

Search for most interesting projection along frozen geodesics.
search_geodesic

Search for most interesting projection along random geodesics.
sphere

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

Generate initial basis.
display_depth

Display 3d projection with depth cues
display_dist

1d distribution tour path animation.
frozen_tour

A frozen tour path.
geodesic_info

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

A guided tour path.
holes

Holes index.
pda_pp

PDA projection pursuit index.
planned_tour

A planned tour path.
save_history

Save tour history.
search_better

Search for a better projection near the current projection.