View source: R/geodesic-path.r
new_geodesic_path | R Documentation |
A tour path is a function that when called with the current projection
and data set, generates sequence of geodesic_path
s. 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
.
new_geodesic_path(name, generator, frozen = NULL, ...)
name |
name to give tour path |
generator |
basis generator function |
frozen |
matrix giving frozen variables, as described in
|
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.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.