Last data update: 2014.03.03
|
R: Functions for geodesic search
Functions for geodesic search
Description
This function provides an alternative way to optimize the
projection index, by moving along a geodesic path.
Usage
search_geodesic(current, alpha = 1, index, max.tries = 5, n = 5)
Arguments
current |
The starting projection.
|
alpha |
Maximum distance to travel (currently ignored).
|
index |
The projection index.
|
max.tries |
Maximum number of failed attempts before giving up.
|
n |
Number of random steps to take to find best direction.
|
Details
The function search_geodesic finds only one basis at a time. The caller is a wrapper function that calls search_geodesic bases number of times.
Value
Returns the basis found.
Author(s)
The function has been copied as is from the tourr package.
Results
|