Learn R Programming

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

tourr (version 0.5.2)

Implement tour methods in pure R code

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

Version

0.5.2

License

MIT

Maintainer

Hadley Wickham

Last Published

June 19th, 2012

Functions in tourr (0.5.2)

Tropical Atmosphere Ocean

Tropical Atmosphere Ocean data
little_tour

A little tour path.
basis_init

Generate initial basis.
find_best_frozen_dir

Find most promising direction in frozen space.
guided_tour

A guided tour path.
Laser measurements

Turnable laser measurements from Bellcore
frozen_guided_tour

The frozen guided tour
path_dist

Compute distance matrix from bases.
normalise

Normalise a numeric matrix.
step_fraction

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

Animate a tour path.
Ozone measurements

Monthly ozone measurements over Central America
cmass

Central mass index.
path_index

Compute index values for a tour history.
center

Center a numeric vector by subtracting off its mean.
Flea measurements

Flea beatle measurements
frozen_tour

A frozen tour path.
render

Render frames of animation to disk
andrews

Compute Andrews' curves
display_image

Image tour path animation.
display_depth

Display 3d projection with depth cues
display_faces

Chernoff faces tour path animation.
plot.path_curve

Plot history curves.
Olive oil measurements

Olive oil samples from Italy
grand_tour

A grand tour path.
display_pcp

Parallel coordinates tour path animation.
new_geodesic_path

Generate a geodesic path between bases supplied by generator
orthonormalise

Orthonormalise using modified Gram-Schmidt process.
paths_index

Compute index value for many histories.
path_curves

Draw the path that the geodesics took.
find_best_dir

Find the most promising direction to travel in.
bases_little

Generate bases for the little tour
display_dist

1d distribution tour path animation.
interpolate

Interpolate geodesically between bases.
geodesic_path

Generate geodesic path.
new_tour

Create a new tour.
display_stars

Star glyph tour path animation.
basis_nearby

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

Calculate the distance between two bases.
search_geodesic

Search for most interesting projection along random geodesics.
search_frozen_geodesic

Search for most interesting projection along frozen geodesics.
check_freezer_safe

Check matrix is a valid frozen matrix
planned_tour

A planned tour path.
display_xy

Display tour path with a scatterplot
lda_pp

LDA projection pursuit index.
local_tour

A local tour path.
geodesic_info

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

Holes index.
display_andrews

Andrews' curves tour path animation.
plot.path_index

Plot history index with ggplot2.
to_stop

Prints information on how to stop the output
anaglyph

Draw anaglyphs with base graphics.
display_stereo

Anaglpyh tour path animation.
Rat CNS

Rat CNS Gene Expression
search_better

Search for a better projection near the current projection.
save_history

Save tour history.
project3d

Stereographic projection
step_angle

Step along an interpolated path by angle in radians.
Places Ratings

Ratings of different locations across North America
sphere

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

Display tour path with trails
find_frozen_path_peak

Find most highest peak along frozen geodesic.
blank_plot

Set up a blank plot to display data projections
search_better_random

Search for better projection, with stochastic component.
find_platform

Find the platform Find the platform being used by the user
is_orthonormal

Test if a numeric matrix is orthonormal.
orthonormalise_by

Orthonnormalise one matrix by another.
pda_pp

PDA projection pursuit index.
basis_random

Generate a random basis
display_scatmat

Scatterplot matrix tour path animation.
display_ggobi

Display tour path with ggobi
draw_tour_axes

Draw tour axes with base graphics
rescale

Rescale a matrix or data frame
dependence_tour

A dependence tour path.
find_path_peak

Find the most interesting projection along a geodesic.
xnul

A null function
freeze

Freeze and thaw matrices