Learn R Programming

cepp (version 1.7)

geodesic: 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.

Value

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.