View source: R/1_manual_tour.r
interpolate_manual_tour | R Documentation |
Internal function. Interpolates a manual tour over the stored theta, and phi
specifications. Returns an interpolated basis_array to be consumed by
array2df
.
interpolate_manual_tour(basis_array, angle = 0.05)
basis_array |
array, of the target bases, the extrema of the walk/segments. |
angle |
The step size between interpolated frames, in radians. |
Other manual tour adjacent functions:
create_manip_space()
,
manip_var_of()
,
manual_tour()
,
rotate_manip_space()
## This function is not meant for external use
dat <- scale_sd(wine[, 2:6])
clas <- wine$Type
bas <- basis_pca(dat)
mv <- manip_var_of(bas)
mt <- manual_tour(bas, mv)
interp <- spinifex:::interpolate_manual_tour(basis_array = mt, angle = .1)
dim(interp)
str(interp)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.