interpolate_manual_tour {spinifex} | R Documentation |
Interpolates a manual tour
Description
Internal function. Interpolates a manual tour over the stored theta, and phi
specifications. Returns an interpolated basis_array to be consumed by
array2df
.
Usage
interpolate_manual_tour(basis_array, angle = 0.05)
Arguments
basis_array |
array, of the target bases, the extrema of the walk/segments. |
angle |
The step size between interpolated frames, in radians. |
See Also
Other manual tour adjacent functions:
create_manip_space()
,
manip_var_of()
,
manual_tour()
,
rotate_manip_space()
Examples
## 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)
[Package spinifex version 0.3.7.0 Index]