getTrace {spinebil} | R Documentation |
Tracing the index over an interpolated planned tour path.
Description
Tracing is used to test if the index value varies smoothly over an interpolated tour path. The index value is calculated for the data d in each projection in the interpolated sequence. Note that all index functions must take the data in 2-d matrix format and return the index value.
Usage
getTrace(d, m, indexList, indexLabels)
Arguments
d |
data |
m |
list of projection matrices for the planned tour |
indexList |
list of index functions to calculate for each entry |
indexLabels |
labels used in the output |
Value
index values for each interpolation step
Examples
d <- spiralData(4, 100)
m <- list(basisMatrix(1,2,4), basisMatrix(3,4,4))
indexList <- list(tourr::holes(), tourr::cmass())
indexLabels <- c("holes", "cmass")
trace <- getTrace(d, m, indexList, indexLabels)
plotTrace(trace)
[Package spinebil version 0.1.6 Index]