| time_sequence | R Documentation |
Index evaluation timing may depend on the data distribution, we evaluate the computing time for a set of different projections to get an overview of the distribution of computing times.
time_sequence(d, t, idx, pmax)
d |
Input data in matrix format |
t |
List of projection matrices (e.g. interpolated tour path) |
idx |
Index function |
pmax |
Maximum number of projections to evaluate (cut t if longer than pmax) |
numeric vector containing all distances
d <- as.matrix(spiral_data(500, 4))
t <- purrr::map(1:10, ~ tourr::basis_random(4))
idx <- scag_index("stringy")
time_sequence(d, t, idx, 10)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.