add_path {woylier} | R Documentation |
Overlay paths of interpolation on the sphere
Description
Overlay paths of interpolation on the sphere
Usage
add_path(proj_space, path)
Arguments
proj_space |
n number of points on the surface of sphere |
path |
interpolated path |
Value
data frame with interpolated path and points on sphere surface
Examples
p <- 4
base1 <- tourr::basis_random(p, d=1)
base2 <- tourr::basis_random(p, d=1)
path <- woylier::givens_full_path(base1, base2, nsteps=10)
sp <- woylier::generate_space_view(p=p)
sp_path <- woylier::add_path(sp, path)
tourr::animate_xy(sp_path[,1:4], col=sp_path$type)
[Package woylier version 0.0.9 Index]