Learn R Programming

tourr (version 1.1.0)

new_geodesic_path: Generate a geodesic path between bases supplied by generator

Description

A tour path is a function that when called with the current projection and data set, generates sequence of geodesic_paths. The path can either span the whole space of orthonormal matrices, the default or be restricted to a subspace with the frozen argument. More details are given in the documentation for freeze.

Usage

new_geodesic_path(name, generator, frozen = NULL, ...)

Arguments

name

name to give tour path

generator

basis generator function

frozen

matrix giving frozen variables, as described in freeze

Details

Subsequent frames are guaranteed to be at least 0.001 radians away from the current frame. If after 10 tries the generator does not give a new basis at least this far away then we give up.

If a suitable new basis can not be found, the path function returns NULL indicating that the tour should stop.