Description Usage Arguments Value Examples
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.
1 | getTrace(d, m, indexList, indexLabels)
|
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 |
index values for each interpolation step
1 2 3 4 5 6 | 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)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.