distanceToSp | R Documentation |
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.
distanceToSp(planes, specialPlane)
planes |
Input planes (e.g. result of guided tour) |
specialPlane |
Plane defining the optimal view |
numeric vector containing all distances
planes <- purrr::rerun(10, tourr::basis_random(5))
specialPlane <- basisMatrix(1,2,5)
d <- distanceToSp(planes, specialPlane)
plot(d)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.