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

License

MIT + file LICENSE

Issues

Pull Requests

Stars

Forks

Maintainer

Di Cook

Last Published

February 12th, 2019

Functions in tourr (0.5.6)

dependence_tour

A dependence tour path.
cmass

Central mass index.
center

Center a numeric vector by subtracting off its mean.
display_pcp

Parallel coordinates tour path animation.
blank_plot

Set up a blank plot to display data projections
Laser measurements

Turnable laser measurements from Bellcore
lda_pp

LDA projection pursuit index.
find_platform

Find the platform Find the platform being used by the user
find_path_peak

Find the most interesting projection along a geodesic.
display_scatmat

Scatterplot matrix tour path animation.
basis_nearby

Generate nearby bases, e.g. for simulated annealing.
Rat CNS

Rat CNS Gene Expression
little_tour

A little tour path.
guided_tour

A guided tour path.
display_trails

Display tour path with trails
display_xy

Display tour path with a scatterplot
frozen_tour

A frozen tour path.
basis_random

Generate a random basis
display_faces

Chernoff faces tour path animation.
display_dist

1d distribution tour path animation.
holes

Holes index.
display_density2d

Display tour path with a density and scatterplot
bases_little

Generate bases for the little tour
frozen_guided_tour

The frozen guided tour
basis_init

Generate initial basis.
freeze

Freeze and thaw matrices
display_depth

Display 3d projection with depth cues
display_groupxy

Display 2D tour projections displayed separately by groups
display_andrews

Andrews' curves tour path animation.
display_stars

Star glyph tour path animation.
display_image

Image tour path animation.
new_tour

Create a new tour.
path_index

Compute index values for a tour history.
geodesic_info

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

Draw tour axes with base graphics
path_dist

Compute distance matrix from bases.
path_curves

Draw the path that the geodesics took.
grand_tour

A grand tour path.
geodesic_path

Generate geodesic path.
find_best_dir

Find the most promising direction to travel in.
plot.path_curve

Plot history curves.
display_stereo

Anaglpyh tour path animation.
normalise

Normalise a numeric matrix.
local_tour

A local tour path.
plot.path_index

Plot history index with ggplot2.
find_best_frozen_dir

Find most promising direction in frozen space.
paths_index

Compute index value for many histories.
find_frozen_path_peak

Find most highest peak along frozen geodesic.
render

Render frames of animation to disk
interpolate

Interpolate geodesically between bases.
proj_dist

Calculate the distance between two bases.
project3d

Stereographic projection
is_orthonormal

Test if a numeric matrix is orthonormal.
orthonormalise_by

Orthonnormalise one matrix by another.
orthonormalise

Orthonormalise using modified Gram-Schmidt process.
search_better_random

Search for better projection, with stochastic component.
step_angle

Step along an interpolated path by angle in radians.
search_frozen_geodesic

Search for most interesting projection along frozen geodesics.
new_geodesic_path

Generate a geodesic path between bases supplied by generator
save_history

Save tour history.
step_fraction

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

PDA projection pursuit index.
rescale

Rescale a matrix or data frame
search_better

Search for a better projection near the current projection.
to_stop

Prints information on how to stop the output
xnul

A null function
planned_tour

A planned tour path.
search_geodesic

Search for most interesting projection along random geodesics.
sphere_data

Sphere a matrix (or data frame) by transforming variables to principal components.
Olive oil measurements

Olive oil samples from Italy
Ozone measurements

Monthly ozone measurements over Central America
Tropical Atmosphere Ocean

Tropical Atmosphere Ocean data
anaglyph

Draw anaglyphs with base graphics.
Places Ratings

Ratings of different locations across North America
andrews

Compute Andrews' curves
check_freezer_safe

Check matrix is a valid frozen matrix
animate

Animate a tour path.
Flea measurements

Flea beatle measurements