Learn R Programming

tourr (version 0.5.1)

find_path_peak: Find the most interesting projection along a geodesic.

Description

Use optimize to find the most interesting projection amongst all projections on a geodesic. This method assumes that the function is continuous with a single maximum, but seems to do ok even if there are multiple maxima.

Usage

find_path_peak(old, new, index, max_dist = pi/4)

Arguments

old
currention project
new
projection that gives direction to travel in
index
interestingness index function
max_dist
maximum distance to travel along in radians