resample | R Documentation |
This function performs uniform resampling using SLERP.
resample(x, tmin = NA, tmax = NA, nout = 0L, disable_normalization = FALSE)
## S3 method for class 'qts'
resample(x, tmin = NA, tmax = NA, nout = 0L, disable_normalization = FALSE)
## S3 method for class 'qts_sample'
resample(x, tmin = NA, tmax = NA, nout = 0L, disable_normalization = FALSE)
x |
An object of class qts or qts_sample. |
tmin |
A numeric value specifying the lower bound of the time interval
over which uniform resampling should take place. It must satisfy |
tmax |
A numeric value specifying the upper bound of the time interval
over which uniform resampling should take place. It must satisfy |
nout |
An integer specifying the size of the uniform grid for time
resampling. Defaults to |
disable_normalization |
A boolean specifying whether quaternion
normalization should be disabled. Defaults to |
An object of the same class as the input argument x
in which
quaternions are uniformly sampled in the range [tmin, tmax]
.
resample(vespa64$igp[[1]])
resample(vespa64$igp)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.