| compare_smoothing | R Documentation |
Compare traces with different smoothing options.
compare_smoothing(d, tPath, idx, alphaV = c(0.01, 0.05, 0.1), n = 10)
d |
Data matrix |
tPath |
Interpolated tour path (as list of projections) |
idx |
Index function |
alphaV |
Jitter amounts to compare (for jittering angle or points) |
n |
Number of evaluations entering mean value calculation |
Table of mean index values
d <- as.matrix(spiral_data(30, 3))
tPath <- tourr::save_history(d, max_bases=2)
tPath <- as.list(tourr::interpolate(tPath, 0.3))
idx <- scag_index("stringy")
compS <- compare_smoothing(d, tPath, idx, alphaV = c(0.01, 0.05), n=2)
plot_smoothing_comparison(compS)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.