Compare traces with different smoothing options.
compare_smoothing.Rd
Compare traces with different smoothing options.
Usage
compare_smoothing(d, tPath, idx, alphaV = c(0.01, 0.05, 0.1), n = 10)
Examples
d <- spiral_data(30, 3)
tPath <- tourr::save_history(d, max_bases=2)
#> Converting input data to the required matrix format.
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)
#> Error in d %*% proj: requires numeric/complex matrix/vector arguments
plot_smoothing_comparison(compS)
#> Error: object 'compS' not found