Learn R Programming

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

tourr (version 0.5.1)

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.1

License

MIT

Maintainer

Hadley Wickham

Last Published

March 20th, 2012

Functions in tourr (0.5.1)

Flea measurements

Flea beatle measurements
step_fraction

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

Generate geodesic path.
dependence_tour

A dependence tour path.
search_geodesic

Search for most interesting projection along random geodesics.
basis_nearby

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

Compute Andrews' curves
display_dist

1d distribution tour path animation.
display_andrews

Andrews' curves tour path animation.
find_best_frozen_dir

Find most promising direction in frozen space.
proj_dist

Calculate the distance between two bases.
display_stars

Star glyph tour path animation.
pda_pp

PDA projection pursuit index.
animate

Animate a tour path.
display_scatmat

Scatterplot matrix tour path animation.
display_ggobi

Display tour path with ggobi
check_freezer_safe

Check matrix is a valid frozen matrix
basis_init

Generate initial basis.
display_image

Image tour path animation.
render

Render frames of animation to disk
display_depth

Display 3d projection with depth cues
find_path_peak

Find the most interesting projection along a geodesic.
planned_tour

A planned tour path.
find_best_dir

Find the most promising direction to travel in.
little_tour

A little tour path.
new_tour

Create a new tour.
is_orthonormal

Test if a numeric matrix is orthonormal.
Laser measurements

Turnable laser measurements from Bellcore
basis_random

Generate a random basis
Ozone measurements

Monthly ozone measurements over Central America
plot.path_curve

Plot history curves.
search_better_random

Search for better projection, with stochastic component.
normalise

Normalise a numeric matrix.
blank_plot

Set up a blank plot to display data projections
Places Ratings

Ratings of different locations across North America
find_platform

Find the platform Find the platform being used by the user
cmass

Central mass index.
display_stereo

Anaglpyh tour path animation.
paths_index

Compute index value for many histories.
new_geodesic_path

Generate a geodesic path between bases supplied by generator
center

Center a numeric vector by subtracting off its mean.
frozen_guided_tour

The frozen guided tour
Tropical Atmosphere Ocean

Tropical Atmosphere Ocean data
sphere

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

Display tour path with trails
step_angle

Step along an interpolated path by angle in radians.
search_better

Search for a better projection near the current projection.
freeze

Freeze and thaw matrices
lda_pp

LDA projection pursuit index.
project3d

Stereographic projection
anaglyph

Draw anaglyphs with base graphics.
grand_tour

A grand tour path.
frozen_tour

A frozen tour path.
holes

Holes index.
display_pcp

Parallel coordinates tour path animation.
search_frozen_geodesic

Search for most interesting projection along frozen geodesics.
orthonormalise_by

Orthonnormalise one matrix by another.
interpolate

Interpolate geodesically between bases.
Rat CNS

Rat CNS Gene Expression
guided_tour

A guided tour path.
draw_tour_axes

Draw tour axes with base graphics
display_faces

Chernoff faces tour path animation.
Olive oil measurements

Olive oil samples from Italy
display_xy

Display tour path with a scatterplot
geodesic_info

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

Compute index values for a tour history.
find_frozen_path_peak

Find most highest peak along frozen geodesic.
save_history

Save tour history.
path_dist

Compute distance matrix from bases.
path_curves

Draw the path that the geodesics took.
plot.path_index

Plot history index with ggplot2.
local_tour

A local tour path.
bases_little

Generate bases for the little tour
xnul

A null function
rescale

Rescale a matrix or data frame
to_stop

Prints information on how to stop the output
orthonormalise

Orthonormalise using modified Gram-Schmidt process.