distanceToSp {spinebil} | R Documentation |
Collecting distances between input planes and input special plane.
Description
If the optimal view is known, we can use the distance between a given plane and the optimal one as a proxy to diagnose the performance of the guided tour.
Usage
distanceToSp(planes, specialPlane)
Arguments
planes |
Input planes (e.g. result of guided tour) |
specialPlane |
Plane defining the optimal view |
Value
numeric vector containing all distances
Examples
planes <- purrr::rerun(10, tourr::basis_random(5))
specialPlane <- basisMatrix(1,2,5)
d <- distanceToSp(planes, specialPlane)
plot(d)
[Package spinebil version 0.1.6 Index]