new_geodesic_path: Generate a geodesic path between bases supplied by generator

View source: R/geodesic-path.r

new_geodesic_pathR Documentation

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.


tourr documentation built on May 29, 2024, 11:22 a.m.